Skip to content

Commit d470aa0

Browse files
add explore example for geopandas
1 parent c33eae6 commit d470aa0

2 files changed

Lines changed: 75 additions & 7 deletions

File tree

_solved/visualization-02-geopandas.ipynb

Lines changed: 45 additions & 4 deletions
Large diffs are not rendered by default.

notebooks/visualization-02-geopandas.ipynb

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,12 +509,32 @@
509509
"m"
510510
]
511511
},
512+
{
513+
"cell_type": "markdown",
514+
"metadata": {},
515+
"source": [
516+
"### In the upcoming GeoPandas release: a default interactive `explore()` method (based on Folium)\n",
517+
"\n",
518+
"Currently this lives at https://github.com/martinfleis/geopandas-view/, but it will be integrated in the next release of GeoPandas:"
519+
]
520+
},
521+
{
522+
"cell_type": "code",
523+
"execution_count": null,
524+
"metadata": {},
525+
"outputs": [],
526+
"source": [
527+
"from geopandas_view import view as explore"
528+
]
529+
},
512530
{
513531
"cell_type": "code",
514532
"execution_count": null,
515533
"metadata": {},
516534
"outputs": [],
517-
"source": []
535+
"source": [
536+
"explore(countries)"
537+
]
518538
}
519539
],
520540
"metadata": {
@@ -533,12 +553,19 @@
533553
"name": "python",
534554
"nbconvert_exporter": "python",
535555
"pygments_lexer": "ipython3",
536-
"version": "3.8.5"
556+
"version": "3.8.10"
537557
},
538558
"toc-autonumbering": false,
539559
"toc-showcode": false,
540560
"toc-showmarkdowntxt": false,
541-
"toc-showtags": false
561+
"toc-showtags": false,
562+
"widgets": {
563+
"application/vnd.jupyter.widget-state+json": {
564+
"state": {},
565+
"version_major": 2,
566+
"version_minor": 0
567+
}
568+
}
542569
},
543570
"nbformat": 4,
544571
"nbformat_minor": 4

0 commit comments

Comments
 (0)