Gruffy is Python implemetation of Gruff(Ruby Graphing Library)
Project description
About
Gruffy is a yet another Python Graphing Library. inspired by Gruff (Ruby Graphing Library).
This module using pgmagick (GraphicsMagick) .
Install
Install from PyPI:
$ pip install gruffy
Require
pgmagick module.
package install on Ubuntu:
$ apt-get install libgraphicsmagick++-dev $ apt-get install libboost-python1.40-dev $ pip install pgmagick
Basic Usage
Bar Graph Sample:
from gruffy import Bar g = Bar() g.title = "Gruffy's Graph" g.data("Apples", [1, 2, 3, 4, 4, 3]) g.data("Oranges", [4, 8, 7, 9, 8, 9]) g.data("Watermelon", [2, 3, 1, 5, 6, 8]) g.data("Peaches", [9, 9, 10, 8, 7, 9]) g.labels = {0: '2003', 2: '2004', 4: '2005'} g.write('sample.png')
Getting the source
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gruffy-0.2.1.tar.gz
(15.2 kB
view details)
Built Distribution
gruffy-0.2.1-py2.6.egg
(44.0 kB
view details)
File details
Details for the file gruffy-0.2.1.tar.gz
.
File metadata
- Download URL: gruffy-0.2.1.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc20a79a1e64122d5f8bc0ef66ec5d633e84a7383c72648ee1fe077994b0e7bb |
|
MD5 | 3790f2468dc5ccaedd3ac7a5a77fc248 |
|
BLAKE2b-256 | 80726bee2d3959bcb86804d42166a6f5bb97254d54755e91bfe63e7d4ff5faa4 |
File details
Details for the file gruffy-0.2.1-py2.6.egg
.
File metadata
- Download URL: gruffy-0.2.1-py2.6.egg
- Upload date:
- Size: 44.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a03963a34fbe9018d4a9f8bf3534fd3af8a3bffe0943f24ad2fd8e229165c14 |
|
MD5 | f467cc36c964c1111c257a04ae1532a5 |
|
BLAKE2b-256 | 05a196e4e7937aff5035fda160914f69d7d537ad67776fc54e2dfa5180983969 |