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

Legend support #109

Open
OriolAbril opened this issue Nov 19, 2024 · 0 comments
Open

Legend support #109

OriolAbril opened this issue Nov 19, 2024 · 0 comments

Comments

@OriolAbril
Copy link
Member

At the time of writing, we have some legend support for bokeh, relatively good legend support for matplotlib and no legend support for plotly.

We should explore better APIs and extend legend support. At a minimum, pc.add_legend("dim_name") should work on all backends and generate acceptable legends.

Once add_legend is working better, it should be called automatically for several plots, including (but might not be limited to):

  • plot_psense_dist -> for alpha
  • plot_energy
  • plot_xyz when model is mapped to color
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