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")
import matplotlib.pyplot as plt
plt.figure()
plt.plot([1,2,3],[1,2,3])
plt.savefig("out.png")