-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ValueError: Unknown color None. when trying to use a coloramp #586
Comments
On my computer here are my versions earthengine-api 0.1.273 |
Sorry for the spam, here is a little more info that may help
but again when trying to use that in add_colorbar
|
I also wondered if it was a mismatch on backend with folium so I tried 49_colorbar.ipynb and Map.add_colorbar_branca but then I get
|
When creating colorbars, ipyleaflet can use either matplotlib or branca, while folium can only use branca.
For ipyleaflet
For folium
|
Run
|
@giswqs Excellent, thank you!! and thank you for the detailed reply. I definitely think I was getting tripped up on which backend and options I was using. This is really helpful, thank you. I am going to give it a try now |
Environment Information
Description
What I Did
For either my geemap code or even this example (https://colab.research.google.com/github/fsn1995/GIS-at-deep-purple/blob/main/02%20gee%20map%20greenland.ipynb#scrollTo=RJdNLlhQjajw) I cant get the colorbars to display (see error above). On the other hand using the same version of geemap etc on my own computer in a Jupyter notebook running in conda it works. It seems to be some issue when I try to run the exact same code in google collab; or that's a red herring and I am doing something else wrong
Here is the code in that example that fails
or
or in my code (again works on my computer in Jupyter)
here is the script on GitHub
https://github.com/serbinsh/amf3_seus/blob/main/python/amf3_radar_blockage_demo_gee.ipynb
Any ideas? I was using a different colormap system (cmasher) that also worked for me but not on collab. I switched to the geemap version based on that geemap lib example in the hopes it would fix this "none" issue but it doesn't seem to have fixed it. I wonder if its a geemap versioning issue?
The text was updated successfully, but these errors were encountered: