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 colorbar to timelapse #24

Closed
giswqs opened this issue Dec 31, 2021 · 1 comment
Closed

Add colorbar to timelapse #24

giswqs opened this issue Dec 31, 2021 · 1 comment
Assignees
Labels
Feature Request New feature or request

Comments

@giswqs
Copy link
Member

giswqs commented Dec 31, 2021

It would be useful to add a colorbar to a timelapse, e.g., temperature, NDVI.

import geemap
import geemap.colormaps as cm 
geemap.save_colorbar(vis_params={'min': 20, "max":40, 'palette': cm.get_palette("coolwarm")}, tick_size=12, label="Surface temperature")

image

geemap.save_colorbar(vis_params={'min': -1, "max":1, 'palette': cm.palettes.ndvi}, tick_size=12, label="NDVI")

image

@giswqs giswqs added the Feature Request New feature or request label Dec 31, 2021
@giswqs giswqs self-assigned this Dec 31, 2021
giswqs added a commit that referenced this issue Jan 1, 2022
@giswqs
Copy link
Member Author

giswqs commented Jan 1, 2022

This feature has been implemented. Try it out at https://streamlit.gishub.org

@giswqs giswqs closed this as completed Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant