When saving an image to matplotlib, the aspect ratio is always 4 by 3. Is it possible to change this in any way?
Commands like
plt.gca().set_aspect('equal')
change the aspect ratio only for the object being drawn, but not for the image.
Is it also possible to fit graphs into the selected area (that is, so that the graph occupies the entire area of the sheet, without leaving unnecessary huge fields).