Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
TheYAxis.tick_right()
method doesn't move a scale factor when the formatter introduces one. The following minimal example should demonstrate that:
importnumpyfrommatplotlibimportpyplotdata=numpy.random.random(1e4)*1e-22fig,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()
The1e-11
factor should ideally be on the right-hand-side with the tick labels.