Skip to main content

ggplot for python

Project description

What is it?

ggplot is the Python version of the grammar of graphics. It is not intended to be a feature-for-feature port of `ggplot2 for R <https://github.com/hadley/ggplot2>`__. There is much greatness in ggplot2, the Python world could stand to benefit from it.

You can do cool things like this:

ggplot(diamonds, aes(x='price', color='clarity')) + \
    geom_density() + \
    scale_color_brewer(type='div', palette=7) + \
    facet_wrap('cut')

Installation

$ pip install -U ggplot
# or
$ conda install ggplot
# or
pip install pip install git+https://github.com/yhat/ggplot.git

Examples

What happened to the old version that didn’t work?

It’s gone–the windows, the doors, everything. I deleted most of the code and only kept what worked. The data grouping and manipulation bits were re-written (so they actually worked) with things like facets in mind.

Contributing

See `contributing.md <./contributing.md>`__.

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

ggplot-0.9.2.tar.gz (1.9 MB view hashes)

Uploaded Source

Built Distribution

ggplot-0.9.2-py2.7.egg (2.2 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page