import matplotlib.pyplot as plt x = [1, 2, 3, 4, 5] y = [2, 3, 5, 7, 11] plt.bar(x, y, color='blue') plt.title("Simple Bar Graph") plt.xlabel("X-axis") plt.ylabel("Y-axis") plt.grid(True) plt.show()