From 5139701ca47feeb645a23e9ab6c41f0ba80c73fc Mon Sep 17 00:00:00 2001 From: Shuang Song <103439749+cariashuang0417@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:26:14 -0400 Subject: [PATCH] map update for how much green sample --- .../how-much-green-is-Delhi-as-on-21-oct-2022.ipynb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/samples/04_gis_analysts_data_scientists/how-much-green-is-Delhi-as-on-21-oct-2022.ipynb b/samples/04_gis_analysts_data_scientists/how-much-green-is-Delhi-as-on-21-oct-2022.ipynb index ceb5e03b0f..e205ccc768 100644 --- a/samples/04_gis_analysts_data_scientists/how-much-green-is-Delhi-as-on-21-oct-2022.ipynb +++ b/samples/04_gis_analysts_data_scientists/how-much-green-is-Delhi-as-on-21-oct-2022.ipynb @@ -583,9 +583,10 @@ "metadata": {}, "outputs": [], "source": [ - "m = gis.map('New Delhi, India', 10)\n", - "m.add_layer(masked)\n", - "m.legend = True\n", + "m = gis.map('New Delhi, India')\n", + "m.content.add(masked)\n", + "m.zoom = 10\n", + "m.legend.enabled = True\n", "m" ] }, @@ -755,9 +756,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.16" + "version": "3.11.0" } }, "nbformat": 4, - "nbformat_minor": 2 + "nbformat_minor": 4 }