You are reading an old version of the documentation (v2.2.3). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.axis.YAxis.tick_right.html
Version 2.2.3
matplotlib
Fork me on GitHub

matplotlib.axis.YAxis.tick_right

YAxis.tick_right()[source]

Move ticks and ticklabels (if present) to the right of the axes.