Line plot


Below is a simple example of plotting a line using Matplotlib.

>>> import matplotlib.pyplot as plt
>>> x = [2, 7, 4.1, 8, 12, 9.2]
>>> plt.plot(x)
>>> plt.show()

line plot


🐍 Pythonic Programming
by Gavin Wiggins © 2022