plotnine
plotnine copied to clipboard
A Grammar of Graphics for Python
Hi there, I think a useful addition to the formatting of facets would be the inclusion of [nested_facets](https://teunbrand.github.io/ggh4x/articles/Facets.html#nested_facets). I don't know how had it would be implement, though there is...
e.g. In `stat_smooth` documentation link to `geom_smooth` and the reverse.
As always, thanks for the amazing project! I noticed a missing feature and thought it would be a good idea to report it here: support for binned scaled was added...
It looks like when two or more geoms are plotted and the input data is a Pandas [IntegerArray](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.arrays.IntegerArray.html#pandas-arrays-integerarray), specifically a `pandas.Int64Dtype`. It's throwing the `TypeError: ufunc 'isfinite' not supported for...
```python def plot_leagues_ratings( df: pl.DataFrame, filename: Union[Path, str], year: int, x_size: int, y_size: int ): title = f"Rating ({year})" df = df.with_columns(pl.lit(0).alias("dummy")) df = df.to_pandas() df["League"] = pd.Categorical( df["League"], categories=["LCK",...
See https://plotnine.readthedocs.io/en/stable/external-resources.html - The "[Comparing plotnine and ggpy](http://pltn.ca/plotnine-superior-python-ggplot/)" mentioned by @pteehan [in #1](https://github.com/has2k1/plotnine/issues/1#issuecomment-303319007) points to a dead link, but I found this archive.org backup: http://web.archive.org/web/20181012022314/http://pltn.ca/plotnine-superior-python-ggplot/ - Same thing happens to...
Plotnine provides the core experience of Grammar of Graphics in Python. However, some derivative plots could be nice to also support, like a pairplot. In [this issue](https://github.com/has2k1/plotnine/issues/16) there is reference...
Hi! 👋🏻 I'm the lead developer of the [Ibis project](https://github.com/ibis-project/ibis). I recently did a write up of some [analysis of Ibis's CI data](https://ibis-project.org/docs/4.1.0/blog/rendered/ci-analysis/) using Ibis and `plotnine`. I think plotnine...
Manually specifying sans-serif or serif seems to work. But using those in a mapping to family doesn't seem to work (at least on my Mac). (I also noticed that there...
It appears that plotnine currently accepts [4 options for linetype](https://github.com/has2k1/plotnine/blob/fe855e3ea70f6ad15db026401ae605e7322edcec/plotnine/scales/scale_linetype.py#L9), which are documented in the notes of [`scale_linetype()`](https://plotnine.org/reference/scale_linetype.html#notes). A user mentioned that it's a bit tricky finding options for things...