Skip to main content

Generate simple, reproducible graphs.

Project description

A small framework for generating simple, reproducible graphs.


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.


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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for graphbutler, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size graphbutler-0.2.0-py2-none-any.whl (3.9 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size graphbutler-0.2.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page