I would like to plot two routes which overlap in some parts using osmnx and python. I used yellow as a colour for route 1 and blue for route 2. To clarify what I mean using pictures:
This is the plot of route 1 only:
This is the plot of route 2 only:
This is the plot of route 1 and 2 together:
This is an exemplary snippet from my code:
ox.plot_graph_routes(Graph, route1, route_color=['y']*len(route1))
ox.plot_graph_routes(Graph, route2, route_color=['b']*len(route2))
ox.plot_graph_routes(Graph, route1+route2, route_color=['y']*len(route1) + ['b']*len(route(2))
As you can see in the plot of route 1 and 2 together, it would be more convenient to have a blue/yellow hatched pattern or something like that for the part where route 1 and route 2 overlap.
Does anyone know how to define a color that is a pattern of e.g. blue and yellow, so that I can pass it to the 'route_color' argument in the plot_graph_routes function?