Make a 2×2 grid using constrained layout, and return the engine's class name: f…

Matplotlib · from Making it fit

layout="constrained"fig.tight_layoutfig.suptitlefig.supxlabelfig.legendsubplots_adjust

Putting the kettle on…

Starting up…

Exercise 1

Make a 2×2 grid using constrained layout, and return the engine's class name: fig.get_layout_engine().__class__.__name__.

your answer
stuck? the lesson behind it
Making it fit
constrained layout, figure-level labels, and one legend for the lot