helper.plot_routes

helper.plot_routes(G, Groutes)[source]

Produce overlain plot of G and Groutes with specified style below.

Parameters:
  • G (graph) – Input graph from OSMnx query.
  • Groutes (list) – Routes from G for each edge in P.
Returns:

  • fig (figure object) – Figure handle for plotting
  • ax (axes object) – Axes handle for plotting