[EMAIL PROTECTED] wrote:
> Revision: 6288
>           http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6288&view=rev
> Author:   jdh2358
> Date:     2008-10-21 15:26:22 +0000 (Tue, 21 Oct 2008)
> 
> Log Message:
> -----------
> restored the support for multiple pyplots that I broke earlier
>


>      def set_xlim(self, xmin=None, xmax=None, emit=True, **kwargs):
>          """
> @@ -1944,7 +1944,7 @@
>          """
>          Get the y-axis range [*ymin*, *ymax*]
>          """
> -        return self.viewLim.intervaly
> +        return tuple(self.viewLim.intervaly)

John,

It might be worth adding a comment in the code as to why a tuple is 
needed here.

Eric

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to