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

Log Message:
-----------
Fix buglet in path.py

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

Modified: trunk/matplotlib/lib/matplotlib/path.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/path.py     2008-12-29 14:42:20 UTC (rev 
6712)
+++ trunk/matplotlib/lib/matplotlib/path.py     2008-12-29 14:52:30 UTC (rev 
6713)
@@ -12,6 +12,7 @@
     point_in_path_collection, get_path_collection_extents, \
     path_in_path, path_intersects_path, convert_path_to_polygons
 from matplotlib.cbook import simple_linear_interpolation, maxdict
+from matplotlib import rcParams
 
 class Path(object):
     """
@@ -109,7 +110,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