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.

Where did stat_identity and geom_raster go?

They’re gone. They didn’t even come close to working (also what does stat_identity even do) so they’re gone.

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.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ggplot-0.9.0-py2.7.egg (2.1 MB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for ggplot-0.9.0.tar.gz
Algorithm Hash digest
SHA256 16916dd8b7ce7677a78212ca1cc5a6ceb74713273b9ae4939167bd08a31a224c
MD5 1c04f615ad57d6c4dfef326d32223a9f
BLAKE2b-256 c5a433644bdef91c72602f982a17e8eea9b1a7b5c486b9446feedbde8054ff4e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ggplot-0.9.0-py2.7.egg
  • Upload date:
  • Size: 2.1 MB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ggplot-0.9.0-py2.7.egg
Algorithm Hash digest
SHA256 5f32a25dafc365a5a06182fd4546641207fe761b4b7b9ce570e2663ae5311d42
MD5 baec60abedec1266a03f024f3dee4681
BLAKE2b-256 ecec3416ace850e6018764ff055206980c6028a65269081133bf095ff1593078

See more details on using hashes here.

Supported by

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