From: <ry...@us...> - 2009-08-19 07:56:43
|
Revision: 7506 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7506&view=rev Author: ryanmay Date: 2009-08-19 07:56:33 +0000 (Wed, 19 Aug 2009) Log Message: ----------- Remove calls to np.asarray(). This was breaking the use of masked arrays in calls to set_[x|y]data() and is handled appropriately already by set_data(). Modified Paths: -------------- branches/v0_99_maint/lib/matplotlib/lines.py Modified: branches/v0_99_maint/lib/matplotlib/lines.py =================================================================== --- branches/v0_99_maint/lib/matplotlib/lines.py 2009-08-18 22:18:59 UTC (rev 7505) +++ branches/v0_99_maint/lib/matplotlib/lines.py 2009-08-19 07:56:33 UTC (rev 7506) @@ -843,7 +843,6 @@ ACCEPTS: 1D array """ - x = np.asarray(x) self.set_data(x, self._yorig) def set_ydata(self, y): @@ -852,7 +851,6 @@ ACCEPTS: 1D array """ - y = np.asarray(y) self.set_data(self._xorig, y) def set_dashes(self, seq): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |