Hello.  I've decided to upgrade to matplotlib 1.0, but I'll need to fix a
few problems that have come up.  I was hoping I could get some help on this
here.

First thing is, I have a bit of point picker code that was written by JJ on
this list some time back that has been working well.  This is the start of
it:

def contains_points(self, line, mouseevent):
        line.pickradius = 5

        # Make sure we have data to plot
        if line._invalid:
            line.recache()
        if len(line._xy)==0: return False,{}

But I am getting an error:

AttributeError: 'Line2D' object has no attribute '_invalid'

Can someone please tell me what the right method is now?  And how I can
learn about these sorts of changes on my own?

Thank you,
Che
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: New IBM DB2 features make compatibility easy. 
Learn about native support for PL/SQL, new data types, scalar functions, 
improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, 
best practices and more - all designed to run applications on both DB2 and 
Oracle platforms. http://p.sf.net/sfu/oracle-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to