scisalt.matplotlib.Imshow_Slider¶
-
class
scisalt.matplotlib.Imshow_Slider(image, usecbar=False, **kwargs)[source]¶ Convenience class for viewing images.
Plots image to a to an instance of
matplotlib.axes.Axes, with sliders for controlling bounds, with **kwargs passed through tomatplotlib.axes.Axes.imshow.usecbar determines if a colorbar will be used. Color bars can slow down the viewer significantly.
Changed in version 1.2: Name changed, colorbar options added, p changed to
AxesImage.Parameters: image : array
An array representing an image.
usecbar : bool
Determines if colorbar is shown. Color bars can slow down the viewer significantly.
kwargs :
Passed through to
matplotlib.axes.Axes.imshow.Attributes
AxesImageThe matplotlib.image.AxesImagefrommatplotlib.axes.Axes.imshow.axThe matplotlib.axes.Axesused formatplotlib.axes.Axes.imshow.clim_maxSlider value for maximum clim_minSlider value for minimum imageThe image loaded. imgmaxHighest value of input image. imgminLowest value of input image. Methods
set_cmap(cmap)Sets color map to cmap.