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
$ 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 bar 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')
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.0.2.tar.gz
(8.9 kB
view details)
File details
Details for the file gruffy-0.0.2.tar.gz
.
File metadata
- Download URL: gruffy-0.0.2.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dd5c0514fc91652c6652dfbe2ea7850cdc6b688292186920b4f74922a91de66 |
|
MD5 | ab8f521145c64e40db773e4737a01611 |
|
BLAKE2b-256 | 6932f0bd0ab26a46d15a70d48d6f09b0a946fed24f1174a9cdf457a2e48a1dc0 |