I am trying to save a figure with a given size. While the size eventually changes, the labels and width of lines all remain intact. I am using the following:
fig = plt.gcf()
mydpi = 100
fig.set_size_inches(470 / mydpi, 575 / mydpi)
fig.savefig('/tmp/fig.png')
How can I scale the image all together? Like when you do fig.show()
and then scale it manually by mouse?