Matplotlib Line

You can use the keyword argument linestyle, or shorter ls, to change the style of the plotted line.

Code :