Bug in axes.tick_right()

Hi all,

As follow on to a post by Andre Gavana, I think we've identified a bug in axes.tick_right. If you run the following script:

#!/usr/bin/env python

import pylab
import matplotlib.numerix as N

Fig = pylab.figure()

ax2 = Fig.add_subplot(111)
ax2.yaxis.tick_right()
ax2.yaxis.set_label_position('right')

t = N.arange(0.01, 10.0, 0.01)
s1 = N.exp(t)

ax2.plot(t, s1, 'b-')
ax2.set_xlabel('time (s)')
ax2.set_ylabel('exp')

pylab.show()

You get a nice plot with the y-axis on the right, but the x1e4 ends up at the top of the left side, rather than the right. Is there another call to say where to put that? It seems that it should always be on the same side as the ticks.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...