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

Colormap conflict between LiCSBAS and matplotlib #202

Closed
sabmet opened this issue Jan 20, 2023 · 3 comments
Closed

Colormap conflict between LiCSBAS and matplotlib #202

sabmet opened this issue Jan 20, 2023 · 3 comments

Comments

@sabmet
Copy link

sabmet commented Jan 20, 2023

Dear Yu,
we encountered the problem of a broken color map name handling, when executing the script LiCSBAS12_loop_closure.py and continuously had the error:

ValueError: A colormap named "SCM.romaO" is already registered.

The problem appeared in a classroom environment with 20 PCs with Ubuntu Linux 20.04 LTR, where we choose to install LiCSBAS into an existing conda enviroment, set up with miniconda, using python3.9. In this environment we used your provided requirements.txt file to install the dependencies needed to run LiCSBAS. Students using their own notebooks with different operating systems had the same error.
Our "quick fix" to the error was to uninstall matplotlib 3.6.3 and installed the older version matplotlib-3.5.3 via pip. A further fix of a student was to change the two lines in the LiCSBAS_loop_lib.py where the SCM.romaO color map appears, and replace it by a standard color map. To continue our class, we decided to downgrade matplotlib via pip. Could you consider to update your library? This could be helpful for many other users of LiCSBAS.
Thanks! (Harald Schernthanner, Uni Potsdam, Najib Kakar and Sabrina Metzger, GFZ Potsdam)

@yumorishita
Copy link
Owner

The issue and the solution are already reported.
#176 (comment)
#195 (comment)
#198

Unfortunately, I cannot update this repository for a reason. I am planning to create another repository and continue to develop LiCSBAS there. Please wait for a while.

@sabmet
Copy link
Author

sabmet commented Jan 20, 2023

Thanks Yu, and sorry for annoying you with already reported bugs. But I am glad we got to the same solution as you for the fix. I also hope you soon can fix the problem with the repository updates and wish you all the best!
Sabrina

@yumorishita
Copy link
Owner

FYI, I created a new repository LiCSBAS2, develop a new function, and fix bugs there.
https://github.com/yumorishita/LiCSBAS2

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