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

When flipping the coordinates of a boxplot the series are ordered from bottom to top in the figure and from top to bottom in the legend. When not flipping the...

Enhancement
Discussion

Disabling the outliers in a `geom_boxplots()` hides the markers but keeps the original scale (as if the outliers were present). Should the axis be rescaled (eg. how seaborn behaves)? If...

**Description** When using `geom_smooth` with the `loess` method, I encounter a `TypeError` with the message `asarray() got an unexpected keyword argument 'copy'`. This issue does not occur with other smoothing...

I added a feature allow to select the figure number to use to plot. This way you can work simultaneously with 2 different plot displayed in 2 different figure windows....

It would be good to be able to create multiple legends for the same aes, say for `color`, the same way as `ggnewscale` does. Is this possible?

Feature

Currently, if you mistakenly use a `scale_*_discrete()` instead of `scale_*_manual()`, it works but nothing happens. This can be a bit tricky to debug. ```python from ggplot.data import penguins p =...

Enhancement

The ggplot aesthetic specification doc gives a handy example of customizing linetypes, using the following format: ```R library(ggplot2) lty

Feature
Documentation

Around the end of 2023, it looks like a nice package called geodatasets was released, and is used throughout geopandas tutorials (e.g. [this one](https://geopandas.org/en/stable/docs/user_guide/mapping.html)). It could be helpful to have...

Documentation

plotnine's color aesthetic accepts NA-like values. In this case, NAs are colored grey, and sometimes there are special scale arguments to change the color of NA values, etc.. However, if...

Enhancement

Hi! I have a python library called [pypalettes](https://github.com/JosephBARBIERDARNAL/pypalettes) which is very similar to what the R package [paletteer](https://github.com/EmilHvitfeldt/paletteer) does but for Python (they are in fact almost all the same...