|
From: <pki...@us...> - 2008-07-26 18:42:24
|
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.
|