plotnine icon indicating copy to clipboard operation
plotnine copied to clipboard

A Grammar of Graphics for Python

Results 138 plotnine issues
Sort by recently updated
recently updated
newest added

ggplot2 has [`geom_map`](http://ggplot2.tidyverse.org/reference/geom_map.html) for plotting geography. I can imagine a nice interface with [geopandas](http://geopandas.org/), which has `gpd.GeoDataFrame.plot()` through matplotlib. Here's a demo from the docs: ``` ggplot(crimesm, aes(map_id = state))...

Feature

For `ggplot2`, there are many R packages that define new `geom_*` functions or new `theme_*` functions. I'd love to be able to define a new geom for plotnine (I'm particularly...

Documentation

Maybe it should be a function that returns a continuous or discrete scale depending on the arguments which are used to pick a palette from [palettable](https://jiffyclub.github.io/palettable/). Related to: https://github.com/has2k1/mizani/issues/2

Enhancement

In plotnine/stats/stat_density_2d.py, the import ``` import matplotlib._contour as _contour ``` works with matplotlib 3.5.3, but fails with latest 3.6.0 released 6 days ago.

Have you considered adding type hints to function signatures? This would allow you to remove them from the docs, and if combined with static type checking by mypy could detect...

enhancement

Hello! Thank you for your amazing package. Just wondering whether there are plans on the roadmap to include support for markdown/HTML-like text formatting for text labels. Similar to what we...

Feature

Could it be possible to align multiple plot like cowplot or patchwork

Feature
Layout
Extensions

`ggplot2` recommends using the `linewidth` aesthetic instead of `size` as of version 3.4.0 (see this blog post here: https://www.tidyverse.org/blog/2022/11/ggplot2-3-4-0/). The argument in the blog post is as follows: "The reason...

Enhancement

Hi! I know that a few iterations ago the effect of the `figure_size` argument in theme changed a bit and now it directly specifies the width and height of the...

Feature
Discussion

I'm R and Python user and really grateful to your work (I LOVE plotnine, thanks very much !!!!) Recently I noticed when I opneed the ipynb file at vscode, plotnine...

Enhancement