matplotlib y-axis label on right side

It looks like you can do it with:

ax.yaxis.set_label_position("right")
ax.yaxis.tick_right()

See here for an example.

Leave a Comment