Revision: 8675
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8675&view=rev
Author:   efiring
Date:     2010-09-01 23:39:49 +0000 (Wed, 01 Sep 2010)

Log Message:
-----------
PatchCollection: handle linestyles correctly; patch by Thomas Robitaille

Modified Paths:
--------------
    branches/v1_0_maint/lib/matplotlib/collections.py

Modified: branches/v1_0_maint/lib/matplotlib/collections.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/collections.py   2010-09-01 19:48:23 UTC 
(rev 8674)
+++ branches/v1_0_maint/lib/matplotlib/collections.py   2010-09-01 23:39:49 UTC 
(rev 8675)
@@ -1041,6 +1041,7 @@
             facecolors   = [determine_facecolor(p) for p in patches]
             edgecolors   = [p.get_edgecolor() for p in patches]
             linewidths   = [p.get_linewidth() for p in patches]
+            linestyles   = [p.get_linestyle() for p in patches]
             antialiaseds = [p.get_antialiased() for p in patches]
 
             Collection.__init__(
@@ -1048,7 +1049,7 @@
                 edgecolors=edgecolors,
                 facecolors=facecolors,
                 linewidths=linewidths,
-                linestyles='solid',
+                linestyles=linestyles,
                 antialiaseds = antialiaseds)
         else:
             Collection.__init__(self, **kwargs)


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

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to