Generate simple, reproducible graphs.
Project description
A small framework for generating simple, reproducible graphs.
Example
@recipe
def sine_wave():
g = Graph()
g.x = numpy.arange(0.0, 10.0, 0.01)
g.y = numpy.sin(g.x)
return g
This defines a graph of the sin(x) function in the interval 0 ≤ x ≤ 10.
To save the graph to disk, call sine_wave().save()
. To save all
recipes, call graphbutler.save_all()
. To show a preview, call
sine_wave().show()
.
For more examples, see the examples directory.
Status
This project is in an experimental stage. Feel free to open an issue on Github and I’ll get back to you in a couple of days!
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
graphbutler-0.2.0.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for graphbutler-0.2.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b66906ef99b5bad6be05db0db4137721198b557d116feed332bc1c248c271c95 |
|
MD5 | 8eaf94c1f8ac94a262539628278f9b69 |
|
BLAKE2b-256 | 487ec696b843b52fce0757943c578b50fbb25892b60d3578f0955c7857492fd9 |