buglett/typo in axes.py

Hi all,

I just noticed this in axes.py in SVN head, line 185:

     def __call__(self, *args, **kwargs):

         if self.axes.xaxis is not None and self.axes.xaxis is not None:

I imagine that's supposed to check for xaxis and yaxis, not xaxis twice!

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...236...

Yep, you are right. Thanks for catching it! Foxed in r4457

···

On Nov 26, 2007 3:49 PM, Christopher Barker <Chris.Barker@...236...> wrote:

Hi all,

I just noticed this in axes.py in SVN head, line 185:

     def __call__(self, *args, **kwargs):

         if self.axes.xaxis is not None and self.axes.xaxis is not None:

I imagine that's supposed to check for xaxis and yaxis, not xaxis twice!