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

Refactor the legend into an ipywidgets subclass #1722

Merged
merged 3 commits into from Sep 24, 2023

Conversation

jgarcia525
Copy link
Collaborator

  • Refactored legend into a ipywidgets subclass in map_widgets.py
  • Fixed incorrect argument names being passed into add_legend method in geemap.py
  • Changed exceptions and errors being printed into ValueErrors and TypeErrors
  • Added test for error cases

Note: Will be adding more tests for success cases in upcoming pull request


Co-authored-by: Qiusheng Wu giswqs@gmail.com

@giswqs
Copy link
Member

giswqs commented Sep 24, 2023

Resolved the conflict after merging #1717

@giswqs giswqs self-requested a review September 24, 2023 21:59
@giswqs
Copy link
Member

giswqs commented Sep 24, 2023

@jgarcia525 Looks great! I have tested it and everything seems working properly. I made some minor changes to provide backward compatability.

@giswqs giswqs merged commit 7383389 into gee-community:master Sep 24, 2023
13 checks passed
@jgarcia525 jgarcia525 deleted the colorbar-refactor branch October 2, 2023 22:09
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

Successfully merging this pull request may close these issues.

None yet

2 participants