expyfun.analyze.plot_screen

expyfun.analyze.plot_screen(screen, ax=None)[source]

Plot a captured screenshot

Parameters:
screenarray

The N x M x 3 (or 4) array of screen pixel values.

axmatplotlib Axes | None

If provided, the axes will be plotted to and cleared of ticks. If None, a figure will be created.

Returns:
axmatplotlib Axes

The axes used to plot the image.

Examples using expyfun.analyze.plot_screen

Run a very basic experiment

Run a very basic experiment

Run a simple experiment

Run a simple experiment

Experiment drawing methods

Experiment drawing methods

Sound level test and visual size calibration

Sound level test and visual size calibration

ProgressBar demo

ProgressBar demo

Display text with different formatting methods

Display text with different formatting methods

KeyPressAndRelease demo

KeyPressAndRelease demo

Experiment with eye-tracking

Experiment with eye-tracking

Use joystick controls

Use joystick controls

Mouse click demo

Mouse click demo

Keypress demo

Keypress demo

Video playing made simple

Video playing made simple

Use the CRM corpus

Use the CRM corpus

Video property control

Video property control

A-V sync test

A-V sync test