>>>>> "Bryan" == Bryan Cole <[EMAIL PROTECTED]> writes:

    Bryan> MPL uses CXX instead of SWIG; I'm no C++ export so I havn't
    Bryan> looked at adding __get/setstate__ functions to the objects
    Bryan> themselves. copy_reg is nice because you can add

Actually, most of the mpl extension code is CXX, but just to make
things difficult for you, some of it is SWIG as well.  Basically, I
decided at some point that SWIG was a better choice, and when I wanted
to expose more of the agg functionality directly through the agg
module (which is different from backend_agg), I decided to do it in
C++.  The lines module, for example, uses agg to construct paths which
it then passes off to the various backends.  I do not think any of
these SWIG objects are persistent since they are created at draw time
and not cached, but I just wanted to make you aware of them.

JDH


_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to