Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Makes it easy to convert Python data structures to JSON strings suitable for flot series and options
Python
tag: v0.1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
pyflot
tests
.gitignore
README.rst
setup.py

README.rst

python-flot-utils

Utilities for generating flot graphs within Python.

For example:

>>> import pyflot
>>> f = pyflot.Flot()
>>> f.add_series([(1, 1), (2, 2), (3, 3)])
>>> print f.series_json
[{"data": [[1, 1], [2, 2], [3, 3]]}]

In this simple example the series_json is a JSON string in the format expected by flot.

Something went wrong with that request. Please try again.