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 ceb5e03b0..e205ccc76 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 }