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

Is there a way to add a color bar to an nglview.NGLWidget? #95

Open
dprada opened this issue Oct 21, 2022 · 0 comments
Open

Is there a way to add a color bar to an nglview.NGLWidget? #95

dprada opened this issue Oct 21, 2022 · 0 comments

Comments

@dprada
Copy link
Contributor

dprada commented Oct 21, 2022

When the Molsysmt function molsysmt.thirds.nglview.color_by_value is used, having a color bar in the resulting view would be necessary. We should look for possible solutions to do it.

One way to do it can be embedding the NGLWidget in an external widget box with the output of matplotlib (the color bar). Something similar to what is implemented in pychemcurv in the function map_view.

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