pyworkflow.gui.plotter module¶
This module implement the classes to create plots on xmipp.
- class pyworkflow.gui.plotter.Plotter(x=1, y=1, mainTitle='', figsize=None, dpi=100, windowTitle='', fontsize=8, **kwargs)[source]¶
Bases:
pyworkflow.viewer.View
Create different types of plots using the matplotlib library.
- backend = None¶
- createSubPlot(title, xlabel, ylabel, xpos=None, ypos=None, yformat=False, projection='rectilinear')[source]¶
Create a subplot in the figure. You should provide plot title, and x and y axis labels. yformat True specified the use of global self.plot_yformat Possible values for projection are:
‘aitoff’, ‘hammer’, ‘lambert’, ‘mollweide’, ‘polar’, ‘rectilinear’
- classmethod setBackend(value)[source]¶
Possible values are: - TkAgg for Tkinter - Agg for non-interactive plots.