Extend it with **kwargs forwarded to ax.plot, then call it with linestyle="--"

Matplotlib · from Charts you can reuse

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

Putting the kettle on…

Starting up…

Exercise 2

Extend it with **kwargs forwarded to ax.plot, then call it with linestyle="--". Return the line's linestyle.

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