On Thu, Jun 12, 2008 at 3:07 PM, Ken McIvor <[EMAIL PROTECTED]> wrote:

> To the best of my knowledge the wx.GraphicsContext class is not
> present in wxPython 2.6.

Nils, part of what we are trying to do on the 0.98 release series is
remove a lot of legacy code supporting 18 versions of everything.  For
folks who need older numpy, older wx, etc, we have the 0.91
maintenance branch.  For folks who want the latest matplotlib, they
will need to be willing to upgrade to a recent numpy and wxpython.  I
looked briefly at the graphics context issue -- with the exception of
the call to GetFullTextExtent, all the calls are to SetPen, so we
could just use the MemoryDC dc object for those.  But I am not
inclined to put a lot of version conditional stuff in the wx backend
code for the reasons mentioned above.

If some wx guru sees an easy fix here, by all means add it.
Otherwise, we should decide on a minimum wxpython version for the
trunk and raise an exception.

JDH

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to