import matplotlib.pyplot as plt
dtf = pd.DataFrame.from_records(d, columns=h)
dtf.plot()
plt.savefig('~/Documents/output.png')
Saving plots (AxesSubPlot) generated from python pandas with matplotlib's savefig