Skip to content

Really hard to plot categories palette.... #422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
christophechu opened this issue Feb 14, 2025 · 2 comments
Closed

Really hard to plot categories palette.... #422

christophechu opened this issue Feb 14, 2025 · 2 comments

Comments

@christophechu
Copy link

I already have my color palette stored in sdata.tables["table"].uns, but .pl.render_shapes() ignores it. As a result, I have to manually specify the palette in the function. However, this leads to errors related to invalid hex colors or missing groups.

@timtreis
Copy link
Member

Hey @christophechu, what exactly is the issue? Please provide ideally reproducible code showing the issue

@christophechu
Copy link
Author

Hey @timtreis
The error I mentioned was from 2 existing issues.
Because pl.render_shapes() ignores the default colors stored in the uns["{key}_colors"], I must define the palette for each group.
#414
When I set the pattern group and palette, the error was pl.render_shapes not support normal hex color.
#391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants