Skip to content

Commit 5139701

Browse files
map update for how much green sample
1 parent 4a7cf48 commit 5139701

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

samples/04_gis_analysts_data_scientists/how-much-green-is-Delhi-as-on-21-oct-2022.ipynb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,10 @@
583583
"metadata": {},
584584
"outputs": [],
585585
"source": [
586-
"m = gis.map('New Delhi, India', 10)\n",
587-
"m.add_layer(masked)\n",
588-
"m.legend = True\n",
586+
"m = gis.map('New Delhi, India')\n",
587+
"m.content.add(masked)\n",
588+
"m.zoom = 10\n",
589+
"m.legend.enabled = True\n",
589590
"m"
590591
]
591592
},
@@ -755,9 +756,9 @@
755756
"name": "python",
756757
"nbconvert_exporter": "python",
757758
"pygments_lexer": "ipython3",
758-
"version": "3.9.16"
759+
"version": "3.11.0"
759760
}
760761
},
761762
"nbformat": 4,
762-
"nbformat_minor": 2
763+
"nbformat_minor": 4
763764
}

0 commit comments

Comments
 (0)