views:

846

answers:

4

Hi,

Can someone please suggest to me any python library to plot graph like

http://www.google.com/finance/images/retail%5Fq%5Findex.png

Thank you.

+10  A: 

matplotlib is classic. We've been using it for at least the last 5 years. It is actively supported and about to hit 1.0

this one shows time series plots

avguchenko
I second that, not only can you dynamically see the plot and change its parameters, but it also allows you to generate PDF reports and many other formats. Many plot types are available, too.
RedGlyph
+1 for matplotlib. I've used it. It works.
Nate
A: 

Try python-graph http://code.google.com/p/python-graph/

bugspy.net
There are graphs, and there are graphs. You obviously didn't take the time required to at least understand the question before you jumped to answer. Don't do that.
Eli Bendersky
Yes you are right. I missed the "plot" part. Sorry
bugspy.net
A: 

gnuplot is pretty good
Here are some samples

gnibbler
+1  A: 

Python Google Chart

>>> from pygooglechart import SparkLineChart as Chart
>>> chart = Chart(400, 300)
>>> import random
>>> chart.add_data([random.randrange(100) for _ in xrange(40)])
0
>>> chart.download('line-sparkline.png')
>>> import webbrowser
>>> webbrowser.open('line-sparkline.png')
True

Take a look at other examples.

J.F. Sebastian