From: <wea...@us...> - 2011-02-07 22:49:15
|
Revision: 8957 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8957&view=rev Author: weathergod Date: 2011-02-07 22:49:09 +0000 (Mon, 07 Feb 2011) Log Message: ----------- Removed misleading returns in xscale() and yscale(). Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/pyplot.py Modified: trunk/matplotlib/lib/matplotlib/pyplot.py =================================================================== --- trunk/matplotlib/lib/matplotlib/pyplot.py 2011-02-07 16:51:04 UTC (rev 8956) +++ trunk/matplotlib/lib/matplotlib/pyplot.py 2011-02-07 22:49:09 UTC (rev 8957) @@ -1131,10 +1131,9 @@ %(scale_docs)s """ ax = gca() - ret = ax.set_xscale(*args, **kwargs) + ax.set_xscale(*args, **kwargs) draw_if_interactive() - return ret - + @docstring.dedent_interpd def yscale(*args, **kwargs): """ @@ -1149,10 +1148,9 @@ %(scale_docs)s """ ax = gca() - ret = ax.set_yscale(*args, **kwargs) + ax.set_yscale(*args, **kwargs) draw_if_interactive() - return ret - + def xticks(*args, **kwargs): """ Set/Get the xlimits of the current ticklocs and labels:: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |