SourceForge logo
SourceForge logo
Menu

matplotlib-checkins

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.
Revision: 8799
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8799&view=rev
Author: leejjoon
Date: 2010年11月15日 00:31:56 +0000 (2010年11月15日)
Log Message:
-----------
Collection.update_from copies attributes of scalarmappable
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年11月15日 00:31:16 UTC (rev 8798)
+++ branches/v1_0_maint/lib/matplotlib/collections.py	2010年11月15日 00:31:56 UTC (rev 8799)
@@ -500,6 +500,12 @@
 self._linestyles = other._linestyles
 self._pickradius = other._pickradius
 
+ # update_from for scalarmappable
+ self._A = other._A
+ self.norm = other.norm
+ self.cmap = other.cmap
+ # self.update_dict = other.update_dict # do we need to copy this? -JJL
+
 # these are not available for the object inspector until after the
 # class is built so we define an initial set here for the init
 # function and they will be overridden after object defn
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /