Hi, I fixed some of the contains() methods so at least the simple cases work.
Degenerate rectangles cause problems in axes_demo: >>> import matplotlib.patches >>> r = matplotlib.patches.Rectangle((0,0),1,0) >>> r.get_transform().inverted() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/transforms.py", line 1338, in inverted self._inverted = Affine2D(inv(mtx)) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy-1.1.0-py2.5-macosx-10.3-fat.egg/numpy/linalg/linalg.py", line 332, in inv return wrap(solve(a, identity(a.shape[0], dtype=a.dtype))) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy-1.1.0-py2.5-macosx-10.3-fat.egg/numpy/linalg/linalg.py", line 235, in solve raise LinAlgError, 'Singular matrix' numpy.linalg.linalg.LinAlgError: Singular matrix I've only gone through the a*.py samples, but there are a few other glitches such as not detecting axhline/axvline, not handling rotated text properly, and not doing very well on polar plots. These will have to wait for another release. - Paul ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel