From d02ad1e7a656917bd423c4fa8277888bea84a941 Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Mon, 13 Nov 2023 08:30:01 -0500 Subject: [PATCH] Update NWI legend --- docs/notebooks/84_read_parquet.ipynb | 6 +++--- examples/notebooks/84_read_parquet.ipynb | 6 +++--- leafmap/legends.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/notebooks/84_read_parquet.ipynb b/docs/notebooks/84_read_parquet.ipynb index 6e04d0a786..3431ce0b3a 100644 --- a/docs/notebooks/84_read_parquet.ipynb +++ b/docs/notebooks/84_read_parquet.ipynb @@ -21,7 +21,7 @@ "metadata": {}, "outputs": [], "source": [ - "# %pip install -U leafmap lonboard" + "# %pip install -U leafmap lonboard==0.3.0" ] }, { @@ -170,7 +170,7 @@ " \"Riverine\": (1, 144, 191),\n", " \"Lake\": (19, 0, 124),\n", " \"Estuarine and Marine Deepwater\": (0, 124, 136),\n", - " \"Other Freshwater Wetland\": (178, 134, 86),\n", + " \"Other\": (178, 134, 86),\n", " }" ] }, @@ -230,7 +230,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.5" + "version": "3.11.6" } }, "nbformat": 4, diff --git a/examples/notebooks/84_read_parquet.ipynb b/examples/notebooks/84_read_parquet.ipynb index 6e04d0a786..3431ce0b3a 100644 --- a/examples/notebooks/84_read_parquet.ipynb +++ b/examples/notebooks/84_read_parquet.ipynb @@ -21,7 +21,7 @@ "metadata": {}, "outputs": [], "source": [ - "# %pip install -U leafmap lonboard" + "# %pip install -U leafmap lonboard==0.3.0" ] }, { @@ -170,7 +170,7 @@ " \"Riverine\": (1, 144, 191),\n", " \"Lake\": (19, 0, 124),\n", " \"Estuarine and Marine Deepwater\": (0, 124, 136),\n", - " \"Other Freshwater Wetland\": (178, 134, 86),\n", + " \"Other\": (178, 134, 86),\n", " }" ] }, @@ -230,7 +230,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.5" + "version": "3.11.6" } }, "nbformat": 4, diff --git a/leafmap/legends.py b/leafmap/legends.py index 0d54b433ad..d977a57a0e 100644 --- a/leafmap/legends.py +++ b/leafmap/legends.py @@ -35,7 +35,7 @@ "Riverine": (1, 144, 191), "Lake": (19, 0, 124), "Estuarine and Marine Deepwater": (0, 124, 136), - "Other Freshwater Wetland": (178, 134, 86), + "Other": (178, 134, 86), }, # MCD12Q1.051 Land Cover Type Yearly Global 500m https://developers.google.com/earth-engine/datasets/catalog/MODIS_051_MCD12Q1 "MODIS/051/MCD12Q1": {