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.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to