A very simple code to demonstrate plotting using Matplotlib:
import matplotlib.pyplot as plt x = range(0, 25) import random y = [] for i in range(0,25): y.append(random.randint(1,30)) print(x) print(y) plt.plot(x, y)