plotnine
plotnine copied to clipboard
A Grammar of Graphics for Python
This is a minimal example that produces the error. Leaving out any single row in the data table will result in the expected plot without throwing the error. Similarly, specifying...
Can we have a global theme for colour and fill scales? I would like set up colour and fill when I set up my global theme and override the default...
For review. Current status: - hard codes `info.ha` as e.g. `'right'` for testing purposes - accepts 'left', 'center', and 'right' text args as well as float (matched approach [here](https://github.com/has2k1/plotnine/blob/4159f9548fa5f95c02366efc324e88f9ba79af09/plotnine/_mpl/_plotnine_tight_layout.py#L193-L240)) -...
I think I ran into the same as #506 . Repro: ``` import pandas as pd from plotnine import * df = pd.DataFrame({'x': [0, 1, 2, 3], 'y': [4, 5,...
In `ggplot2`, `geom_*` callables support a `key_glyph` argument: > Each geom has an associated function that draws the key when the geom needs to be displayed in a legend. These...
I would appreciate something like geom_image -library(ggimage)- https://github.com/GuangchuangYu/ggimage for plotnine. geom_image allows to place an image at aes(x,y) ``` geom_image( mapping = NULL, data = NULL, stat = "identity", position...
I was recently running some older code and `scale_color_gradient(..., guide=False)` failed. Via trial and error, I've found that it's now `guide=None`. I wasn't able to figure out where this is...
I think the crux is that Categoricals represent missing values with the builtin nan, which seems to mess up a numpy function. However, it seems to work okay when using...
Hello - thanks again for your great work to implement `ggplot2` functionality in Python! My question is about an enhancement to the legend created when drawing a `geom_point()` plot with...
Hello, when using plotnine for ggplot, I get this following error that happens when running this function: class scale_color_cmap(scale_continuous): """ Create color scales using Matplotlib colormaps Parameters ---------- cmap_name :...