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

showMollview(): difficulty retrieving colorbar #31

Open
willclarkson opened this issue Nov 4, 2021 · 1 comment
Open

showMollview(): difficulty retrieving colorbar #31

willclarkson opened this issue Nov 4, 2021 · 1 comment

Comments

@willclarkson
Copy link
Owner

In showMollview(), when running on Datalab using rubin_sim and kernel "LSST-2021.10.13 Py3" (which seems to be required to run rubin_sim), the line retrieving the colorbar,

plt.gca().images[-1].colorbar

now returns None instead of the colorbar object. This might be related to the matplotlib version... the new kernel uses matplotlib version 3.3.4 while the older version uses 3.4.1.

@Thalos12
Copy link
Collaborator

Thalos12 commented Nov 4, 2021

It is likely that the issue is caused by version 3.4.0.
In its changelog, several changes to colorbars involving the label are mentioned.

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