earthshot.water.water_viz

earthshot.water.water_viz.add_ee_layer(self, ee_image_object, vis_params, name)[source]

A method for displaying or layering Earth Engine image tiles to folium map.

earthshot.water.water_viz.folium_display(the_map) → None[source]

Display a folium map with layer control.

earthshot.water.water_viz.folium_map(**kwargs) → folium.folium.Map[source]
earthshot.water.water_viz.legend(palette: tuple, title: str = 'Legend Title (-)', plot_width: int = 500, plot_height: int = 75, minimum: float = 0, maximum: float = 1) → None[source]

Create a stand-alone legend. :param palette: tuple of colors :param title: str for title :param plot_width: int :param plot_height: int :param minimum: float of values to include :param maximum: float of values to include

Returns

None but displays a legend bar in a Jupyter Notebook.