A matplotlib canvas embedded in a wxPython top-level window.
|
__init__(self,
parent,
id,
title,
size=(6.0,3.7),
dpi=96,
cursor=True,
location=True,
crosshairs=True,
selection=True,
zoom=True,
autoscaleUnzoom=True,
**kwds)
Creates a new PlotFrame top-level window that is the child of the
wxPython window parent with the wxPython identifier
id and the title of title . |
source code
|
|
|
|
|
OnMenuFileSave(self,
evt)
Handles File->Save menu events. |
source code
|
|
|
OnMenuFilePageSetup(self,
evt)
Handles File->Page Setup menu events |
source code
|
|
|
OnMenuFilePrintPreview(self,
evt)
Handles File->Print Preview menu events |
source code
|
|
|
OnMenuFilePrint(self,
evt)
Handles File->Print menu events |
source code
|
|
|
OnMenuFileClose(self,
evt)
Handles File->Close menu events. |
source code
|
|
|
OnMenuHelpAbout(self,
evt)
Handles Help->About menu events. |
source code
|
|
|
get_figure(self)
Returns the figure associated with this canvas. |
source code
|
|
|
|
|
set_location(self,
state)
Enable or disable the display of the matplotlib axes coordinates of
the mouse in the lower left corner of the canvas. |
source code
|
|
|
set_crosshairs(self,
state)
Enable or disable drawing crosshairs through the mouse cursor when it
is inside a matplotlib axes. |
source code
|
|
|
set_selection(self,
state)
Enable or disable area selections, where user selects a rectangular
area of the canvas by left-clicking and dragging the mouse. |
source code
|
|
|
set_zoom(self,
state)
Enable or disable zooming in when the user makes an area selection
and zooming out again when the user right-clicks. |
source code
|
|
|
set_autoscale_unzoom(self,
state)
Enable or disable automatic view rescaling when the user zooms out to
the initial figure. |
source code
|
|
|
draw(self)
Draw the associated Figure onto the screen. |
source code
|
|