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
Documentation
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.3.tar.gz
(15.5 kB
view details)
Built Distribution
gruffy-0.3-py2.7.egg
(44.5 kB
view details)
File details
Details for the file gruffy-0.3.tar.gz
.
File metadata
- Download URL: gruffy-0.3.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a400da7b2847380c5bf7b77162d3783dbccbc323e5ce993d21f70688046532f |
|
MD5 | 7be96a50c5cd2f6e7515cfbf72040c3f |
|
BLAKE2b-256 | f0b3bdc47e10f3aaab76f624eeba2f8b046f4848e929a0953769ca8c74460908 |
File details
Details for the file gruffy-0.3-py2.7.egg
.
File metadata
- Download URL: gruffy-0.3-py2.7.egg
- Upload date:
- Size: 44.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a8c5301082a0583224cc9325f734d1940d0a29dfa6a86b48bc88746d9773b2e |
|
MD5 | 4fa425c5bf48909aa591f24944ad8846 |
|
BLAKE2b-256 | 4c29c80f501edeb3c56b51e889bddf674d6a2cf50e03297b4ce59923cafdbeac |