Make a figure, then resize it for a slide with fig.set_size_inches(10, 5.6) and…

Matplotlib · from Charts you can reuse

ax=Noneplt.gca**kwargsfig.set_size_inchesplt.closefigure factories

Putting the kettle on…

Starting up…

Exercise 3

Make a figure, then resize it for a slide with fig.set_size_inches(10, 5.6) and return its pixel size at 150 dpi as a list of two ints.

your answer
stuck? the lesson behind it
Charts you can reuse
The ax=None convention, and sizing a figure for where it is going