• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

examples/H03-May-2022-387192

graphy/H03-May-2022-3,5942,544

LICENSEH A D14-May-200911.1 KiB202169

READMEH A D14-May-2009859 2820

README

1Graphy
2
3Graphy is a chart library for python. It tries to get out of the way and just
4let you work with your data.
5
6For more information, see http://code.google.com/p/graphy/
7
8For license info, see the LICENSE file.
9
10INSTALLATION:
11No installer yet, so just manually copy graphy/ into python-lib/graphy.
12
13QUICK START:
14from graphy.backends import google_chart_api
15monthly_rainfall = [3.2, 3.2, 2.7, 0.9, 0.4, 0.1, 0.0, 0.0, 0.2, 0.9, 1.8, 2.3]
16months = 'Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split()
17chart = google_chart_api.LineChart(monthly_rainfall)
18chart.bottom.labels = months
19print chart.display.Url(400, 100)
20
21EXAMPLES:
22The examples in the examples/ directory assume graphy is in the PYTHONPATH.
23If just want to run them without installing graphy first, you will need to do
24something like this:
25  $ cd examples
26  $ PYTHONPATH=.. ./traffic.py
27
28