I'm trying to plot the graph of edge centrality on the folium using the following code
graph_map = ox.plot_graph_folium(G,
popup_attribute='name',
tiles='stamenterrain',
edge_color=ec,
edge_width=2)
where ec
is list of edge colors but it is not showing up. Does edge_color
accept a list of colors ? Any ideas?
I really appreciate if you can help me.
https://github.com/gboeing/osmnx-examples/blob/master/notebooks/08-example-line-graph.ipynb