matplotlib.backends.backend_wxagg
¶matplotlib.backends.backend_wxagg.
FigureCanvas
¶alias of FigureCanvasWxAgg
matplotlib.backends.backend_wxagg.
FigureCanvasWxAgg
(parent, id, figure)¶Bases: matplotlib.backends.backend_agg.FigureCanvasAgg
, matplotlib.backends.backend_wx.FigureCanvasWx
The FigureCanvas contains the figure and does event handling.
In the wxPython backend, it is derived from wxPanel, and (usually) lives inside a frame instantiated by a FigureManagerWx. The parent window probably implements a wxSizer to control the displayed control size - but we give a hint as to our preferred minimum size.
Initialise a FigureWx instance.
blit
(bbox=None)¶Transfer the region of the agg buffer defined by bbox to the display. If bbox is None, the entire buffer is transferred.
draw
(drawDC=None)¶Render the figure using agg.
filetypes
= {'svg': 'Scalable Vector Graphics', 'ps': 'Postscript', 'jpg': 'Joint Photographic Experts Group', 'png': 'Portable Network Graphics', 'jpeg': 'Joint Photographic Experts Group', 'tiff': 'Tagged Image File Format', 'pgf': 'PGF code for LaTeX', 'tif': 'Tagged Image File Format', 'svgz': 'Scalable Vector Graphics', 'raw': 'Raw RGBA bitmap', 'rgba': 'Raw RGBA bitmap', 'pdf': 'Portable Document Format', 'eps': 'Encapsulated Postscript'}¶print_figure
(filename, *args, **kwargs)¶matplotlib.backends.backend_wxagg.
FigureFrameWxAgg
(num, fig)¶Bases: matplotlib.backends.backend_wx.FigureFrameWx
get_canvas
(fig)¶Bases: matplotlib.backends.backend_wx.NavigationToolbar2Wx
matplotlib.backends.backend_wxagg.
new_figure_manager
(num, *args, **kwargs)¶Create a new figure manager instance
matplotlib.backends.backend_wxagg.
new_figure_manager_given_figure
(num, figure)¶Create a new figure manager instance for the given figure.