First time here? Check out the FAQ!
answered 2013-06-27 14:34:36 +0100
You can do the bar graph using pyplot from matplotlib as follows:
pyplot
matplotlib
import matplotlib.pyplot as plt categories=[1,2,3,4] frequencies=[5,2,6,10] plt.figure() plt.bar(categories,frequencies,width=1) plt.savefig('tmp.png')