Skip to content

Commit

Permalink
chore: added histograms to notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRec committed Nov 9, 2023
1 parent 0a3cb0f commit 8b4644f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
9 changes: 9 additions & 0 deletions notebooks/e2e/e2e_leeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import pandas as pd
import gtfs_kit as gk
import folium
import seaborn as sns

from pyprojroot import here
from shapely.geometry import box
Expand Down Expand Up @@ -919,3 +920,11 @@ def plot(
tp_results

# %%
sns.histplot(
perf_gdf,
x="transport_performance",
stat="density",
bins=50,
binrange=[0, 100],
)
# %%
9 changes: 9 additions & 0 deletions notebooks/e2e/e2e_marseille.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import pandas as pd
import gtfs_kit as gk
import folium
import seaborn as sns

from pyprojroot import here
from shapely.geometry import box
Expand Down Expand Up @@ -943,3 +944,11 @@ def plot(
tp_results

# %%
sns.histplot(
perf_gdf,
x="transport_performance",
stat="density",
bins=50,
binrange=[0, 100],
)
# %%
10 changes: 10 additions & 0 deletions notebooks/e2e/e2e_newport.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import pandas as pd
import gtfs_kit as gk
import folium
import seaborn as sns

from pyprojroot import here
from shapely.geometry import box
Expand Down Expand Up @@ -921,3 +922,12 @@ def plot(
tp_results

# %%
sns.histplot(
perf_gdf,
x="transport_performance",
stat="density",
bins=50,
binrange=[0, 100],
)

# %%

0 comments on commit 8b4644f

Please sign in to comment.