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.8.tar.gz
(86.1 kB
view details)
File details
Details for the file quorra-0.0.8.tar.gz
.
File metadata
- Download URL: quorra-0.0.8.tar.gz
- Upload date:
- Size: 86.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74adf28ce50dbbb204c834cc5658cf6283008a7aa4cfeb41f051e5a9abf1c856 |
|
MD5 | 13067ca779aa8e6c980dc4d98391133b |
|
BLAKE2b-256 | 283f45c5efedd46d2f50b8a7e6085fd21c4c3d43192605bc00ebb312a3890858 |