Plt.Savefig df.plot
plot = dtf.plot()
fig = plot.get_figure()
fig.savefig("output.png")
Successful Salamander
plot = dtf.plot()
fig = plot.get_figure()
fig.savefig("output.png")
fig.savefig('out.png', bbox_inches='tight', pad_inches=0)