Scale Window/Plot Size using PyPlot

pyplot

#1

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!


#2

I found it, you can use for example:

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

Which gives you size in inches(?).