Pyplot axis tick marks no labels


I’m struggling to make pyplot do what I want, which I guess is not that difficult anyway… The fact is that I’m building a plot (in a subplot), and I need to have the y-axis tick marks in both the left and right y y-axis, but the tick mark labels only on the right y-axis. I’m sure this can be done, though I don’t know how, so any help will be greatly appreciated.
Thanks in advance,



Couldn’t you do something like this? It’s probably similar with subplots.

If they have to be part of the same plot you can always create a second axis and link the axes so they share the same range.