Matplotlib setting `axes` object with `imshow` causes y-axis to become variable
问题 Description I have began refactoring some code based on the future warning of matplotlib, to re-use the initially defined axes object. However, I noticed that whenever I was re-using my axes object, the image size would be variable. Since, I have managed to isolate the problem to the axes.imshow method as after using imshow , the y-axis of any subsequent drawing on that axes has a y-axis that seems to rescale. The feeling I have is that the y-axis scale is retained from the initial image that