Skip to main content

ggplot for python

Project description

What is it?

Yes, it’s another implementation of `ggplot2 <https://github.com/hadley/ggplot2>`__. One of the biggest reasons why I continue to reach for R instead of Python for data analysis is the lack of an easy to use, high level plotting package like ggplot. I’ve tried other libraries like Bockah and d3py but what I really want is ggplot2.

ggplot is just that. It’s an extremely un-pythonic package for doing exactly what ggplot2 does. The goal of the package is to mimic the ggplot2 API. This makes it super easy for people coming over from R to use, and prevents you from having to re-learn how to plot stuff.

Goals

Getting Started

# unzip the matplotlibrc
$ unzip matplotlibrc.zip ~/
$ pip install ggplot

Examples

TODO

  • finish README

  • add matplotlibrc to build script

  • distribute on PyPi

  • come up with better name

  • handle NAs gracefully

  • make aes guess what the user actually means (DONE)

  • aes:

    • size

    • se for stat_smooth

    • fix fill/colour

  • geoms:

    • geom_abline (DONE)

    • geom_area (DONE)

    • geom_bar (IN PROGRESS)

    • geom_boxplot

    • geom_hline (DONE)

    • geom_ribbon (same as geom_ribbon?)

    • geom_vline (DONE)

    • stat_bin2d (DONE)

    • geom_jitter

    • stat_smooth (bug)

  • scales:

    • scale_colour_brewer

    • scale_colour_gradient

    • scale_colour_gradient2

    • scale_x_continuous

    • scale_x_discrete

    • scale_y_continuous

  • facets:

    • facet_grid (DONE)

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.1.1.tar.gz (574.6 kB view hashes)

Uploaded Source

Built Distribution

ggplot-0.1.1-py2.7.egg (622.3 kB 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