I have a PyPlot script that shows multiple plots. One of the plots (gpu) I wanted to scale down so I will see it in the lower part of the graph (as in the picture). In order to achieve this I set the axis ylim to 300.
if ymax is not None:
ax.set_ylim(ax.get_ylim()[0], ymax)
The problem is that it messed up to lower ylim, and it is no longer in line with the rest of the axes. Any idea how I can fix that? Thanks.