SF.net SVN: matplotlib:[6288] trunk/matplotlib

jdh2358@...189... 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