<s>[INST] How do you change the size of figures drawn with matplotlib? How do you change the size of figure drawn with matplotlib?
 [/INST] figure tells you the call signature:
figure(num=None, figsize=(8, 6), dpi=80, facecolor='w', edgecolor='k')

So figure(figsize=(1,1)) creates an inch-by-inch image, which will be 80-by-80 pixels unless you also give a different dpi argument.
 </s>