On 6/25/19 6:39 AM, Sinardy Xing wrote:
> Hi,
> 
> I am a newbie with python and the data visualization.
> I have completed pandas.DataFrame stuff and also the matplotlib.
> 
> All of the example that I learned from internet currently are using the
> Anaconda Jupyter Notebook.
> I know there are API where we can output the result of the graph to png,
> will that be possible all these done automatically and dynamically via an
> apps ?

You can generate graphs with mathplotlib.  If you're specifically
looking for a png, it looks a bit like this (assuming you want to follow
the usual conventions for shortening the name, which certainly isn't
required):

from matplotlib import pyplot as plt

plt.savefig('foo.png')

savefig looks at the file extension in determining what to output.

Without a specific question, I'm not sure what else we can say...


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to