From: <md...@us...> - 2007-11-09 20:15:53
|
Revision: 4195 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4195&view=rev Author: mdboom Date: 2007-11-09 12:15:52 -0800 (Fri, 09 Nov 2007) Log Message: ----------- Bugfix: [ 1808189 ] lw kwarg broken in errorbar (Thanks Joe Monaco). Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/collections.py Modified: trunk/matplotlib/lib/matplotlib/collections.py =================================================================== --- trunk/matplotlib/lib/matplotlib/collections.py 2007-11-09 20:14:29 UTC (rev 4194) +++ trunk/matplotlib/lib/matplotlib/collections.py 2007-11-09 20:15:52 UTC (rev 4195) @@ -217,10 +217,8 @@ ACCEPTS: float or sequence of floats """ self._linewidths = self._get_value(lw) + set_linewidths = set_lw = set_linewidth - def set_linewidths(self, lw): - self.set_linewidth(lw) - def set_color(self, c): """ Set both the edgecolor and the facecolor. @@ -798,7 +796,8 @@ """ self._lw = self._get_value(lw) - + set_linewidths = set_lw = set_linewidth + def set_linestyle(self, ls): """ Set the linestyles(s) for the collection. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |