PYME.contrib.wxPlotPanel module¶
New version based on the original by Edward Abraham, incorporating some forum discussion, minor bugfixes, and working for Python 2.5.2, wxPython 2.8.7.1, and Matplotlib 0.98.3.
I haven’t found an advantage to using the NoRepaintCanvas, so it’s removed.
John Bender, CWRU, 10 Sep 08
- class PYME.contrib.wxPlotPanel.PlotPanel(parent, color=None, dpi=None, **kwargs)¶
Bases:
mClass
The PlotPanel has a Figure and a Canvas. OnSize events simply set a flag, and the actual resizing of the figure is triggered by an Idle event.
- SetColor(rgbtuple=None)¶
Set figure and canvas colours to be the same.
- draw()¶