On Sun, Feb 6, 2011 at 2:02 PM, Eric Firing <efir...@hawaii.edu> wrote:

> On 02/06/2011 08:11 AM, Benjamin Root wrote:
> [...]
> >
> > Something I just noticed while looking at the x|ylim() functions.  The
> > code for xscale() and yscale() are acting like it returns something, but
> > they don't.  Is this a bug?  The documentation doesn't claim that it
> > returns anything.
>
> Ben,
>
> Like ax.xscale etc, it returns None.
>
> It's not exactly a bug--the behavior is correct and matches the
> documentation--but the code is misleading and less concise than it could
> be.  Having noticed it, you might as well clean it up.  The code would
> be clearer without the use of "ret" and "return", though the end effect
> will be no different.
>
> Eric
>
>
Done in the development branch in r8957

Ben Root
------------------------------------------------------------------------------
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-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to