Revision: 5887
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5887&view=rev
Author: pkienzle
Date: 2008-07-26 18:42:22 +0000 (Sat, 26 Jul 2008)
Log Message:
-----------
clipped line must recache in set_data
Modified Paths:
--------------
trunk/matplotlib/examples/pylab_examples/clippedline.py
Modified: trunk/matplotlib/examples/pylab_examples/clippedline.py
===================================================================
--- trunk/matplotlib/examples/pylab_examples/clippedline.py 2008-07-26
18:33:15 UTC (rev 5886)
+++ trunk/matplotlib/examples/pylab_examples/clippedline.py 2008-07-26
18:42:22 UTC (rev 5887)
@@ -19,6 +19,8 @@
def set_data(self, *args, **kwargs):
Line2D.set_data(self, *args, **kwargs)
+ if self._invalid:
+ self.recache()
self.xorig = np.array(self._x)
self.yorig = np.array(self._y)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins