Skip to main content

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


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
graphbutler-0.2.0-py2-none-any.whl (3.9 kB) Copy SHA256 hash SHA256 Wheel py2
graphbutler-0.2.0.tar.gz (2.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page