56000b4ac3808e10ee064125978347375fecba8a,osmnx/folium.py,,plot_graph_folium,#Any#Any#Any#Any#Any#Any#Any#Any#Any#,70
Before Change
// list of lat-lng points as [southwest, northeast]
if fit_bounds and isinstance(graph_map, folium.Map):
tb = gdf_edges.total_bounds
bounds = [[tb[1], tb[0]], [tb[3], tb[2]]]
graph_map.fit_bounds(bounds)
return graph_map
After Change
// list of lat-lng points as [southwest, northeast]
if fit_bounds and isinstance(graph_map, folium.Map):
tb = gdf_edges.total_bounds
graph_map.fit_bounds([(tb[1], tb[0]), (tb[3], tb[2])])
return graph_map
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: gboeing/osmnx
Commit Name: 56000b4ac3808e10ee064125978347375fecba8a
Time: 2020-11-18
Author: boeing@usc.edu
File Name: osmnx/folium.py
Class Name:
Method Name: plot_graph_folium
Project Name: gboeing/osmnx
Commit Name: f727d48d75e9c313855108bd7b759d1404c70ea1
Time: 2020-12-02
Author: boeing@usc.edu
File Name: osmnx/folium.py
Class Name:
Method Name: plot_graph_folium
Project Name: gboeing/osmnx
Commit Name: 56000b4ac3808e10ee064125978347375fecba8a
Time: 2020-11-18
Author: boeing@usc.edu
File Name: osmnx/folium.py
Class Name:
Method Name: plot_route_folium
Project Name: gboeing/osmnx
Commit Name: f727d48d75e9c313855108bd7b759d1404c70ea1
Time: 2020-12-02
Author: boeing@usc.edu
File Name: osmnx/folium.py
Class Name:
Method Name: plot_route_folium