Revision: 4591
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4591&view=rev
Author:   mdboom
Date:     2007-12-04 12:07:31 -0800 (Tue, 04 Dec 2007)

Log Message:
-----------
Bugfix for faceted pcolor-based quadmeshes.

Modified Paths:
--------------
    branches/transforms/lib/matplotlib/axes.py

Modified: branches/transforms/lib/matplotlib/axes.py
===================================================================
--- branches/transforms/lib/matplotlib/axes.py  2007-12-04 20:06:45 UTC (rev 
4590)
+++ branches/transforms/lib/matplotlib/axes.py  2007-12-04 20:07:31 UTC (rev 
4591)
@@ -4694,12 +4694,14 @@
 
 
         if shading == 'faceted':
-            edgecolors =  (0,0,0,1),
+            edgecolors = (0,0,0,1),
+            linewidths = (0.25,)
         else:
             edgecolors = 'None'
+            linewidths = (0.0,)
         kwargs.setdefault('edgecolors', edgecolors)
         kwargs.setdefault('antialiaseds', (0,))
-        kwargs.setdefault('linewidths', (0.25,))
+        kwargs.setdefault('linewidths', linewidths)
 
         collection = mcoll.PolyCollection(verts, **kwargs)
 


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

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to