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):

When using plotnine_prism() with the same data, it looks well:

I don't want to use plotnine_prism() theme, so how to adjust the legend ?
Hi,
I made a figure using:
The legend is weired, some items were lost (1, 19, 20, and so on):

When using plotnine_prism() with the same data, it looks well:

I don't want to use plotnine_prism() theme, so how to adjust the legend ?