- matplotlib import matplotlib.pyplot as plt plt.plot([x for x in range(10)], [y for y in range(10)]) plt.show() |