Skip to main content

A python extension for generating quorra.js plots directly from python

Project description

A python wrapper around quorra.js, for creating reusable visualizations.

Installation

Currently, the best way to install this repository is directly from the source:

git clone http://github.com/bprinty/quorra-python.git
cd quorra-python
python setup.py install

Usage

Coming soon …

In the meantime, here’s a snippit of how to generate a toy plot:

>>> import quorra
>>> import pandas
>>> import random
>>> data = pandas.DataFrame({
>>>     'x': [i for i in range(0, 10)],
>>>     'y': [round(random.gauss(100, 10), 2) for i in range(0, 10)],
>>>     'group': ['data']*10
>>> })
>>> plt = quorra.line().data(
>>>     data,
>>>     x='x',
>>>     y='y',
>>>     group='group'
>>> ).xlabel('Index').ylabel('Random Value')
>>> quorra.render(plt)

Questions/Feedback

File an issue in the GitHub issue tracker.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quorra-0.0.6.tar.gz (10.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page