Revision: 6714
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6714&view=rev
Author:   mdboom
Date:     2008-12-29 15:29:52 +0000 (Mon, 29 Dec 2008)

Log Message:
-----------
Handle path.simplify rcParam in all backends.

Modified Paths:
--------------
    branches/v0_98_5_maint/lib/matplotlib/path.py

Modified: branches/v0_98_5_maint/lib/matplotlib/path.py
===================================================================
--- branches/v0_98_5_maint/lib/matplotlib/path.py       2008-12-29 14:52:30 UTC 
(rev 6713)
+++ branches/v0_98_5_maint/lib/matplotlib/path.py       2008-12-29 15:29:52 UTC 
(rev 6714)
@@ -109,8 +109,9 @@
         assert vertices.ndim == 2
         assert vertices.shape[1] == 2
 
-        self.should_simplify = (len(vertices) >= 128 and
-                                (codes is None or np.all(codes <= 
Path.LINETO)))
+        self.should_simplify = (rcParam['path.simplify'] and
+                                (len(vertices) >= 128 and
+                                 (codes is None or np.all(codes <= 
Path.LINETO))))
         self.has_nonfinite = not np.isfinite(vertices).all()
         self.codes = codes
         self.vertices = vertices


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

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to