Skip to main content

ggplot for python

Project description

What is it?

ggplot is a Python implementation 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>`__–though there is much greatness in ggplot2, the Python world could stand to benefit from it. So there will be feature overlap, but not neccessarily mimicry (after all, R is a little weird).

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 -c conda-forge ggplot
# or
pip install git+https://github.com/yhat/ggplot.git

Examples

Examples are the best way to learn. There is a Jupyter Notebook full of them. There are also notebooks that show how to do particular things with ggplot (i.e. make a scatter plot or make a histogram).

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

It’s gone–the windows, the doors, everything. Just kidding, you can find it here, though I’m not sure why you’d want to look at it. The data grouping and manipulation bits were re-written (so they actually worked) with things like facets in mind.

Contributing

Thanks to all of the ggplot contributors! 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.11.5.tar.gz (1.9 MB view details)

Uploaded Source

Built Distributions

ggplot-0.11.5-py2.py3-none-any.whl (2.2 MB view details)

Uploaded Python 2 Python 3

ggplot-0.11.5-py2.7.egg (2.3 MB view details)

Uploaded Source

File details

Details for the file ggplot-0.11.5.tar.gz.

File metadata

  • Download URL: ggplot-0.11.5.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ggplot-0.11.5.tar.gz
Algorithm Hash digest
SHA256 48bbc9ea5987f815ad25856d76573506dbfe153ff696f026ce324582af56469f
MD5 91a4925ec05f8452a79c1792b16038dc
BLAKE2b-256 3fa1090033eb6be0f62350a2fa209e4813a194431997de6f5486366f5b55b992

See more details on using hashes here.

File details

Details for the file ggplot-0.11.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ggplot-0.11.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cd9648752d7e7a74dce263939067c6bfe46217dfd6472f08d0c68a22b5ad3c9a
MD5 d0bfa0b6d02a988cd214b411542ea453
BLAKE2b-256 48045c88cc51c6713583f2dc78a5296adb9741505348c323d5875bc976143db2

See more details on using hashes here.

File details

Details for the file ggplot-0.11.5-py2.7.egg.

File metadata

  • Download URL: ggplot-0.11.5-py2.7.egg
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ggplot-0.11.5-py2.7.egg
Algorithm Hash digest
SHA256 345cc6da684f4220e6da3f3042c7fc43e4784c26cc41fab30e92a55702b26e7b
MD5 74b70dcf4cb13411dcd51c427f20598d
BLAKE2b-256 0c7a60ea773fdd2f5bc7d989ec1d961a7199c99d1e508c8b9c6cd22c942400d9

See more details on using hashes here.

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