Skip to content
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

Set default color in plot_dist #56

Closed
OriolAbril opened this issue Jun 21, 2024 · 1 comment
Closed

Set default color in plot_dist #56

OriolAbril opened this issue Jun 21, 2024 · 1 comment

Comments

@OriolAbril
Copy link
Member

Right after

density_dims, _, density_ignore = filter_aes(plot_collection, aes_map, kind, sample_dims)
we should check if color has an aesthetic mapped to it and if not srt a default color. Otherwise due to matplotlib default property cycle we get lines with different colors without any aesthetic mapping.

We already do something similar for plot_forest: https://github.com/arviz-devs/arviz-plots/blob/main/src/arviz_plots/plots/forestplot.py#L489-L493

@OriolAbril
Copy link
Member Author

closed by #47

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

1 participant