Skip to main content

ggplot

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>`__.

Metadata

Release files for ggplot 0.11.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ggplot 0.11.5
File Size Uploaded Provenance
ggplot-0.11.5.tar.gz 1.9 MB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for ggplot 0.11.5
File Interpreter ABI Platform
ggplot-0.11.5-py2.py3-none-any.whl Python 2, Python 3 none any Details
ggplot-0.11.5-py2.7.egg Legacy Egg format - - Details

Total release size: 6.5 MB

Release files / ggplot-0.11.5.tar.gz

Download URL ggplot-0.11.5.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
48bbc9ea5987f815ad25856d76573506dbfe153ff696f026ce324582af56469f
BLAKE2b-256 checksum
How to use checksums
3fa1090033eb6be0f62350a2fa209e4813a194431997de6f5486366f5b55b992
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ggplot-0.11.5-py2.py3-none-any.whl

Download URL ggplot-0.11.5-py2.py3-none-any.whl
Size 2.2 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cd9648752d7e7a74dce263939067c6bfe46217dfd6472f08d0c68a22b5ad3c9a
BLAKE2b-256 checksum
How to use checksums
48045c88cc51c6713583f2dc78a5296adb9741505348c323d5875bc976143db2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ggplot-0.11.5-py2.7.egg

Download URL ggplot-0.11.5-py2.7.egg
Size 2.3 MB
Tags Egg
SHA-256 checksum
How to use checksums
345cc6da684f4220e6da3f3042c7fc43e4784c26cc41fab30e92a55702b26e7b
BLAKE2b-256 checksum
How to use checksums
0c7a60ea773fdd2f5bc7d989ec1d961a7199c99d1e508c8b9c6cd22c942400d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ggplot 0.11.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.11.5 This release

3 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page