Scale Window/Plot Size using PyPlot



I would like to plot something using PyPlot, change the size of the window and then save it. Through stretching the window a bit in one direction, the overall plot looks better and nothing overlaps. Since I have to do this often, is there a way to put this in one command? I have not found anything so far.

Thanks a lot!


I found it, you can use for example:

using PyPlot
fig, ax = subplots(2,1,figsize=[8,20])

Which gives you size in inches(?).