viewer.utils
¶skimage.viewer.utils.figimage (image[, …]) |
Return figure and axes with figure tightly surrounding image. |
skimage.viewer.utils.init_qtapp () |
Initialize QAppliction. |
skimage.viewer.utils.new_plot ([parent, …]) |
Return new figure and axes. |
skimage.viewer.utils.start_qtapp ([app]) |
Start Qt mainloop |
skimage.viewer.utils.update_axes_image (…) |
Update the image displayed by an image plot. |
skimage.viewer.utils.ClearColormap (rgb[, …]) |
Color map that varies linearly from alpha = 0 to 1 |
skimage.viewer.utils.FigureCanvas (figure, …) |
Canvas for displaying images. |
skimage.viewer.utils.LinearColormap (name, …) |
LinearSegmentedColormap in which color varies smoothly. |
skimage.viewer.utils.RequiredAttr ([init_val]) |
A class attribute that must be set before use. |
skimage.viewer.utils.canvas |
|
skimage.viewer.utils.core |
|
skimage.viewer.utils.dialogs |
skimage.viewer.utils.
figimage
(image, scale=1, dpi=None, **kwargs)[source]¶Return figure and axes with figure tightly surrounding image.
Unlike pyplot.figimage, this actually plots onto an axes object, which fills the figure. Plotting the image onto an axes allows for subsequent overlays of axes artists.
Parameters: | image : array
scale : float
dpi : int
|
---|
skimage.viewer.utils.
new_plot
(parent=None, subplot_kw=None, **fig_kw)[source]¶Return new figure and axes.
Parameters: | parent : QtWidget
subplot_kw : dict
fig_kw : dict
|
---|
LinearColormap
¶skimage.viewer.utils.
LinearColormap
(name, segmented_data, **kwargs)[source]¶Bases: matplotlib.colors.LinearSegmentedColormap
LinearSegmentedColormap in which color varies smoothly.
This class is a simplification of LinearSegmentedColormap, which doesn’t support jumps in color intensities.
Parameters: | name : str
segmented_data : dict
|
---|
RequiredAttr
¶skimage.viewer.utils.
RequiredAttr
(init_val=None)[source]¶Bases: object
A class attribute that must be set before use.
instances
= {(<skimage.viewer.utils.core.RequiredAttr object>, None): 'Widget is not attached to a Plugin.', (<skimage.viewer.utils.core.RequiredAttr object>, None): 'Plugin is not attached to ImageViewer'}¶