Revision: 8675
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8675&view=rev
Author: efiring
Date: 2010年09月01日 23:39:49 +0000 (2010年9月01日)
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.