>>>>> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes:

    >> Hey someone said something nice about transforms!

    Eric> About time, isn't it!

    Eric> One thing I still don't understand: when is it necessary to
    Eric> bracket code with freeze/thaw?

It's never necessary, it's an optimization.  Lots of objects share the
ax.transData transform.  When it is called to transform, all the lazy
objects must be evaluated and lots of virtual function calls made.  By
"freezing" the transform, it will evaluate the lazy objects and
compute and cache the components of the affine.  Every freeze must be
paired with a thaw, and only when you know the window resize, figure
dpi, xlim settings, etc cannot occur in between the freeze and the
thaw.  The call to thaw releases the cached values.  It is only
helpful in a deeply nested call to draw with objects that share the
same transformation, eg in Axes.draw.


    Eric> If you want me to go ahead and commit, I am happy to do so.

It would help get more testers.  I don't feel strongly either way

    Eric> it.  We need to clean things up occasionally, and not keep
    Eric> accumulating alternative versions of things.  In that vein,
    Eric> can we drop pcolor_classic before the next major release?

As far as I am concerned, yes, but I suggest posting to the users list
before dropping old functions to see how many people may still want
them around.

JDH



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

Reply via email to