pymovements.stimulus.ImageStimulus.show#

ImageStimulus.show(stimulus_id: int, origin: str = 'upper') → None[source]#

Display an image stimulus.

Deprecated since version v0.28.0: Please use plot() instead. This method will be removed in v0.33.0.

Parameters:
  • stimulus_id (int) – Index of the stimulus to display.

  • origin (str) – Image origin position for plotting. (default: ‘upper’)

Notes

This is a convenience wrapper that draws the stimulus via plot() and then displays it.

Deprecated since version v0.28.0: Please use ImageStimulus.plot() instead. This method will be removed in v0.33.0.