[wxPython-users] refresh problems
Christopher Barker
Chris.Barker at noaa.gov
Wed Jul 26 23:13:40 PDT 2006
Michael P. Soulier wrote:
> On 25/07/06 Christopher Barker said:
>>Also, why start from scratch?
> Already fought with the limitations of both wx.lib.plot and matplotlib, and
> I'm sick of trying to understand someone else's poorly documented API. I'm
> fed-up frankly, so I'm doing it myself.
Well, always the quandary: Do I spend time learning a new lib, or just
writing the code yourself?
> My needs are simple line graphs, but I
> want flexibility of labels or types of axes, and I'm tired of looking for,
> "how do I do this in API X"?
Well, as you're seen, you'll spend a fair bit of time just getting the
buffering and all right if you do it yourself.
Anyway, wx.lib.plot, is very simple, and thus you likely can't make ti
do what you want. However, it's also simple enough that you could figure
out the code and tweak it do the things you want, probably faster that
writing it all from scratch.
FloatCanvas could be used too. I have a small sample of a line plot, but
not with me at the moment. I'll send it to you if you ask.
Of course, the is the educational value of writing from scratch.
You could at least start with the DoubleBufferedWindow from the Wiki though.
-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 at noaa.gov
More information about the wxpython-users
mailing list