Using mpl.rc_context, draw one line with lines.linewidth set to 5 and another o…

Matplotlib · from Styles and rcParams

plt.rcParamsplt.style.useplt.style.contextrc_context.mplstyleplt.rcdefaults

Putting the kettle on…

Starting up…

Exercise 3

Using mpl.rc_context, draw one line with lines.linewidth set to 5 and another outside the block at the default. Return [inside_width, outside_width].

your answer
stuck? the lesson behind it
Styles and rcParams
Decide how your charts look once, in one place