Hi,
Sorry, I think I originally posted to an inappropriate group, my profuse
apologies -- Duane
···
-----Original Message-----
From: Kaufman, Duane (MED, LUNAR)
Sent: Wednesday, October 22, 2003 10:50 AM
To: 'wxPython-dev@lists.wxwindows.org'
Subject: Problems with wxPlotCanvas
Hi,
I am beginning to use wxPython, and am trying to use the
wxPlotCanvas, but I can't seem to get it to size properly.
I read the bug report:
[ 684171 ] wxPlotCanvas does not correctly size itself to its parent
and Robin's reply, but still can't get the widget to size
properly. The demo code, if it uses sizers at all, doesn't
seem to for the wxPlotCanvas demo.
Could someone please post a code snippet (or program) placing
the wxPlotCanvas on a wxWindow (or wxPanel), and have it fill
the parent, using a sizer?
Thanks much,
Duane
I can't help you with wxPlotCanvas, but I can point you to:
wxPyPlot (http://www.cyberus.ca/~g_will/wxPython/wxpyplot.html)
It is a simple plotting canvas written in Python. You should be able to
use it the way you want, and if you can't it's a bug, and there are at
least a couple of us that will try to fix it.
-Chris
···
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov
Chris Barker wrote:
I can't help you with wxPlotCanvas, but I can point you to:
wxPyPlot (http://www.cyberus.ca/~g_will/wxPython/wxpyplot.html)
I forgot, wxPyPlot is actually an updated version of wxPLotCanvas, so
you really should use it. We should probably get it in the demo in the
next release as well.
-Chris
···
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov