To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 3f7eaa21 authored by Sebastian Hörl's avatar Sebastian Hörl
Browse files

Filter plotting

parent 08afcf46
......@@ -829,7 +829,7 @@ def plot_reference_count_comparison(df_reference, df_flow, correction_factor, wh
plt.subplot(1, 2, 1)
cmap = ROAD_COUNT_COLORS
df_flow[df["link:osm"].isin(["motorway", "trunk", "primary"])].plot(ax = plt.gca(), color = (0.8, 0.8, 0.8), linewidth = 0.5, zorder = -100)
df_flow[df_flow["link:osm"].isin(["motorway", "trunk", "primary"])].plot(ax = plt.gca(), color = (0.8, 0.8, 0.8), linewidth = 0.5, zorder = -100)
df_match[df_match["is_too_high"]].plot(ax = plt.gca(), color = cmap[2], marker = "o", edgecolor = "none", markersize = 5)
df_match[df_match["is_too_low"]].plot(ax = plt.gca(), color = cmap[0], marker = "o", edgecolor = "none", markersize = 5)
df_match[df_match["is_good"]].plot(ax = plt.gca(), color = "k", marker = "o", edgecolor = "none", markersize = 5)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment