pyworkflow.gui.matplotlib_image module
Several Image tools using Matplotlib.
- class pyworkflow.gui.matplotlib_image.FigureFrame(parent, **kwargs)[source]
Bases:
FrameCreate a Tk Frame that will contains a Matplotlib Figure. **kwargs arguments will be passed to Figure constructor. Valid options are:
figsize = (xdim, ydim) dpi = value frameon = (True|False)
Construct a frame widget with the parent MASTER.
Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.
- class pyworkflow.gui.matplotlib_image.ImagePreview(parent, dim, dpi=36, label=None, col=0, listenersDict=None)[source]
Bases:
PreviewConstruct a frame widget with the parent MASTER.
Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.
- class pyworkflow.gui.matplotlib_image.MaskPreview(parent, dim, dpi=36, label=None, col=0, listenersDict=None)[source]
Bases:
ImagePreviewConstruct a frame widget with the parent MASTER.
Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.
- class pyworkflow.gui.matplotlib_image.Preview(parent, dim, dpi=36, label=None, col=0, row=0, listenersDict=None)[source]
Bases:
FrameConstruct a frame widget with the parent MASTER.
Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.
- class pyworkflow.gui.matplotlib_image.PsdPreview(master, dim, lf, hf, dpi=72, label='PSD', listenersDict=None)[source]
Bases:
PreviewConstruct a frame widget with the parent MASTER.
Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.