created folium map html page
This commit is contained in:
60524
output/master_data_center_spatial_clusters_map.html
Normal file
60524
output/master_data_center_spatial_clusters_map.html
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1028,6 +1028,10 @@
|
|||||||
" popup=popup,\n",
|
" popup=popup,\n",
|
||||||
" tooltip=f'{cluster_label}; size={cluster_size}',\n",
|
" tooltip=f'{cluster_label}; size={cluster_size}',\n",
|
||||||
" ).add_to(m)\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",
|
" display(m)\n",
|
||||||
"except ImportError:\n",
|
"except ImportError:\n",
|
||||||
" print('folium is not installed; skipping interactive map.')\n"
|
" print('folium is not installed; skipping interactive map.')\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user