The `get_largest_component` function is deprecated and will be removed in the v2.0.0 release. Replace it with `truncate.largest_component` instead. See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123
g1 = ox.utils_graph.get_largest_component(g)
The fix should be simple, switch our current usage to the preferred usage. Then, we should make sure everything looks okay.
We're currently getting a deprecation warning:
The fix should be simple, switch our current usage to the preferred usage. Then, we should make sure everything looks okay.