Closed
Description
The YAxis.tick_right()
method doesn't move a scale factor when the formatter introduces one. The following minimal example should demonstrate that:
import numpy
from matplotlib import pyplot
data = numpy.random.random(1e4) * 1e-22
fig, axes = pyplot.subplots(2, 1, sharex=True)
axes[0].plot(data)
axes[1].plot(data ** (.5))
axes[1].yaxis.set_label_position('right')
axes[1].yaxis.tick_right()
The 1e-11
factor should ideally be on the right-hand-side with the tick labels.