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

add feature_groups() plotting function in chart.py file #539

Merged

Conversation

3r3n-n
Copy link
Contributor

@3r3n-n 3r3n-n commented Jun 23, 2021

The chart.feature_groups() function was implemented using bqplot and a bit of pandas in the chart.py file, addressing issue #339.

This new function was manually and visually tested against the GEE JavaScript API example (see images below), Tooltips also work.

The respective changes passed the tox tests for python 3.5, 3.6, 3.7 and 3.8. It failed in flake8 test... however, the intact cloned repo (before any changes) also failed with the same errors, which are related to files and lines that were not modified in this PR.

chart from this PR (displayed on Jupyter Lab):

Screen Shot 2021-06-22 at 19 05 37

chart from the JavaScript API (ui.Chart.feature.groups):

https://developers.google.com/earth-engine/images/Charts_feature_12.svg

@lgtm-com
Copy link

lgtm-com bot commented Jun 23, 2021

This pull request fixes 1 alert when merging e74cee8 into f094e74 - view on LGTM.com

fixed alerts:

  • 1 for Unused import

@giswqs
Copy link
Member

giswqs commented Jun 23, 2021

@3r3n-n Awesome work! Thank you very much for your contribution.

@giswqs giswqs merged commit dd82efe into gee-community:master Jun 23, 2021
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