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.

Source Distribution

graphbutler-0.2.0.tar.gz (2.9 kB view hashes)

Uploaded source

Built Distribution

graphbutler-0.2.0-py2-none-any.whl (3.9 kB view hashes)

Uploaded py2

Supported by

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