Revision: 6715
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6715&view=rev
Author:   mdboom
Date:     2008-12-29 15:33:18 +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 15:29:52 UTC 
(rev 6714)
+++ branches/v0_98_5_maint/lib/matplotlib/path.py       2008-12-29 15:33:18 UTC 
(rev 6715)
@@ -109,7 +109,7 @@
         assert vertices.ndim == 2
         assert vertices.shape[1] == 2
 
-        self.should_simplify = (rcParam['path.simplify'] and
+        self.should_simplify = (rcParams['path.simplify'] and
                                 (len(vertices) >= 128 and
                                  (codes is None or np.all(codes <= 
Path.LINETO))))
         self.has_nonfinite = not np.isfinite(vertices).all()


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