If this is a video, move ahead n frames
Set the image to be displayed in the widget. Options are:
img: ndarray; the image to be displayed. autoRange: bool; whether to scale/pan the view to fit the image. autoLevels: bool; whether to update the white/black levels to fit the image. levels: (min, max); the white and black level values to use. axes: {‘t’:0, ‘x’:1, ‘y’:2, ‘c’:3}; Dictionary indicating the interpretation for each axis.
This is only needed to override the default guess.
Return the time and frame index indicated by a slider