plotnine
plotnine copied to clipboard
A Grammar of Graphics for Python
### Discussed in https://github.com/has2k1/plotnine/discussions/788 Originally posted by **has2k1** May 23, 2024 We are excited to announce that the 2024 Plotnine Contest! Plotnine is a visualization library that brings the [Layered...
Hi, all. On my machine `theme_matplotlib()` consistently fails. Here's an example: ```python from pandas import DataFrame from plotnine import * theme_set(theme_matplotlib()) PLOT = ( ggplot(DataFrame([{"X":0,"Y":0},{"X":1,"Y":2}])) + aes('X', 'Y') + geom_point()...
Thank you for creating a good package. I set the height of figure_size to 30, so the chart needs to be viewed vertically. However, the height of figure_size is currently...
There's a bug that's haunting me right now with the order of factors with facet_grid. I'm posting it here in case other people have seen it, but I couldn't reproduce...
I am trying to manually set the color of my axis labels with a list of colors of equal length as the labels, just as you can do with R....
Hi, First of all, thank you for bring ggplot to python, I love this package :) I'm having some trouble using `adjust_text` to make some labels easier to read --...
Hi, How to add axis breaks using plotnine ? 
Hi, I made a figure using: ``` ggplot(obs,aes(x='library_id',y='percentage',fill='leiden')) + geom_bar(stat='identity') + scale_fill_manual(values=adata.uns['leiden_colors']) + theme(axis_text_x=element_text(angle=45)) ``` The legend is weired, some items were lost (1, 19, 20, and so on): ...
Basically title. Is there a way within plot nine to add images in place of labels to the x axis tick positions? I know you can get the matplotlib figure...
Whenever an animation of figures containing colorbars is generated and saved via `PlotnineAnimation`, an artifact with a repeated colorbar, centered at coordinates (0, 0), appears in the animation. I would...