plot graph matplotlib python 2.7 code example
Example 1: python matplt
import matplotlib.pyplot as plt
plt.plot([1, 2, 3, 4])
plt.ylabel('some numbers')
plt.show()
Example 2: matplotlib include first number in plotter
ax.set_xticks(np.arange(len(x)))
ax.set_xticklabels(x, rotation = 45)