[SciPy-dev] Progress being made on Chaco Linux problem
David C. Morrill
dmorrill at enthought.com
Mon Sep 23 17:16:14 CDT 2002
Just wanted to let everyone know that I have made some progress on the Chaco Linux problem that several people have reported.
It appears that the Linux GTK-based version on wxPython does not implement the wxDC.SetDeviceOrigin and wxDC.SetAxisOrientation methods the same way as the Windows version does.
The Kiva layer of Chaco is based on DisplayPDF and has its origin in the lower-left corner. Chaco uses the two calls just mentioned to properly orient the wxDC drawing methods. But in the Linux version, these calls are not behaving as I would expect. By commenting out the body of the 'right_side_up' method in wxplot_window.py in the chaco directory (which calls the two methods described), I was able to get the demo program to work (although all the plots are inverted!).
I'm going to start looking at the wxPython source to see if I can figure out what's going wrong. But in the meantime I thought I would post what I had found so far.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scipy-dev