created folium map html page
This commit is contained in:
@@ -1028,6 +1028,10 @@
|
||||
" popup=popup,\n",
|
||||
" tooltip=f'{cluster_label}; size={cluster_size}',\n",
|
||||
" ).add_to(m)\n",
|
||||
" map_out = Path('output/master_data_center_spatial_clusters_map.html')\n",
|
||||
" map_out.parent.mkdir(exist_ok=True)\n",
|
||||
" m.save(map_out)\n",
|
||||
" print('Wrote:', map_out)\n",
|
||||
" display(m)\n",
|
||||
"except ImportError:\n",
|
||||
" print('folium is not installed; skipping interactive map.')\n"
|
||||
|
||||
Reference in New Issue
Block a user