I am trying to scale the y axis like this:
a = axes(gca())
This works fine when yticks is non-empty. However, if I do
either before or after the set_ylim call, the y axis is not scaled.
I also tried to use
instead of calling set_yticks(), but to no avail.
Any suggestions are appreciated.