Revision: 8289
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8289&view=rev
Author:   efiring
Date:     2010-04-29 21:43:53 +0000 (Thu, 29 Apr 2010)

Log Message:
-----------
Line2D: don't use subslices with markevery

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/lines.py

Modified: trunk/matplotlib/lib/matplotlib/lines.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/lines.py    2010-04-29 16:18:09 UTC (rev 
8288)
+++ trunk/matplotlib/lib/matplotlib/lines.py    2010-04-29 21:43:53 UTC (rev 
8289)
@@ -456,7 +456,8 @@
         self._subslice = False
         if (self.axes and len(x) > 100 and self._is_sorted(x) and
             self.axes.name == 'rectilinear' and
-            self.axes.get_xscale() == 'linear'):
+            self.axes.get_xscale() == 'linear' and
+            self._markevery is None):
             self._subslice = True
         if hasattr(self, '_path'):
             interpolation_steps = self._path._interpolation_steps


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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

Reply via email to