Matplotlib Plotting

The plot() function is used to draw a line from point to point in a diagram.

Code :