Home | Trees | Index | Help |
|
---|
Package matplotlib :: Package backends :: Module backend_agg :: Class FigureCanvasAgg |
|
FigureCanvasBase
--+
|
FigureCanvasAgg
FigureCanvasWxAgg
The canvas the figure renders into. Calls the draw and print fig methods, creates the renderers, etc... Public attribute figure - A Figure instance
Method Summary | |
---|---|
buffer_rgba(self)
| |
copy_from_bbox(self,
bbox)
| |
Draw the figure using the renderer | |
get_renderer(self)
| |
Render the figure to hardcopy. | |
restore_region(self,
region)
| |
tostring_argb(self)
| |
tostring_rgb(self)
| |
Inherited from FigureCanvasBase | |
| |
blit the canvas in bbox (default entire canvas) | |
Backend derived classes should call this function on any mouse button press. | |
Backend derived classes should call this function on any mouse button release. | |
Draw a cursor in the event.axes if inaxes is not None. | |
| |
draw only if idle; defaults to draw but backends can overrride | |
return the figure width and height in points or pixels (depending on the backend), truncated to integers | |
| |
| |
Backend derived classes should call this function on any motion-notify-event. | |
Connect event with string s to func. | |
Connect s to func. | |
instantiate an instance of FigureCanvasClass |
Class Variable Summary | |
---|---|
Inherited from FigureCanvasBase | |
tuple |
events = ('key_press_event', 'key_release_event', 'butto...
|
Method Details |
---|
draw(self)Draw the figure using the renderer |
print_figure(self, filename, dpi=150, facecolor='w', edgecolor='w', orientation='portrait')Render the figure to hardcopy. Set the figure patch face and edge colors. This is useful because some of the GUIs have a gray figure face color background and you'll probably want to override this on hardcopy If the extension matches PNG, write a PNG file If the extension matches BMP or RAW, write an RGBA bitmap file If filename is a fileobject, write png to file object (thus you can, for example, write the png to stdout |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Aug 28 13:47:50 2006 | http://epydoc.sf.net |