From: John H. <jdh...@ac...> - 2004-04-05 13:20:59
|
I just committed a wxagg backend. Jeremy and others may want to give it a test drive. I use fromstring / tostring methods to transfer the image data to the wx bitmap. This has the advantage of requiring no wx specific extension code but obviously implies a performance hit. This is just a first pass implementation so I tried to keep the framework as close to the current wx setup as possible, in order to reuse as much of backend_wx as possible. I think though that the bitmap is not necessary since I am rendering to agg. Jeremy, can we transfer the wxImage created in FigureCanvasWXAgg.draw directly to the DC w/o going through the bitmap? On my system, however, the performance is quite good. Even when/if we have an extension solution in place, it will be nice to preserve the string methods as a fallback for those who can't compile the extension for some reason. There are a couple of unrelated wx issues that need attention: * The toolbar seems not to work on Mac OS X, either for wx or wxagg. Not sure why. It doesn't even showup in the window * I got this email this morning From: Srijit Kumar Bhadra <sr...@ya...> Subject: Matplotlib 0.52 and wxpython 2.5.1 To: jdh...@ac... Date: Mon, 5 Apr 2004 00:21:45 -0700 (PDT) Hi, This is to inform you that Matplotlib 0.52 does not work with wxpython 2.5.1. The corresponding code is available below. It works correctly with the previous version 2.4 of wxpython. That's all for now, JDH |