@@ -17,7 +17,7 @@ def plot_workzone_assignment_line(
17
17
n : int ,
18
18
selection_type : str = "random" ,
19
19
sort_by : str = "assigned" ,
20
- save_dir : Optional [ str ] = None ,
20
+ save_dir : str | Path | None = None ,
21
21
display : bool = False ,
22
22
):
23
23
"""
@@ -136,7 +136,7 @@ def plot_workzone_assignment_heatmap(
136
136
n : int ,
137
137
selection_type : str = "random" ,
138
138
sort_by : str = "assigned" ,
139
- save_dir : Optional [ str ] = None ,
139
+ save_dir : str | Path | None = None ,
140
140
display : bool = False ,
141
141
):
142
142
"""
@@ -240,7 +240,7 @@ def plot_desire_lines(
240
240
bin_size : int ,
241
241
boundaries : gpd .GeoDataFrame ,
242
242
sample_size : Optional [int ] = None ,
243
- save_dir : str | None | Path = None ,
243
+ save_dir : str | Path | None = None ,
244
244
) -> None :
245
245
"""
246
246
Plots activity chains for a given activity type, bin size, geographical boundaries, and an optional sample size.
@@ -389,7 +389,7 @@ def plot_scatter_actual_reported(
389
389
title_prefix : str ,
390
390
activity_type : str ,
391
391
activity_type_col : str ,
392
- save_dir : str | None | Path = None ,
392
+ save_dir : str | Path | None = None ,
393
393
display : bool = False ,
394
394
):
395
395
"""
0 commit comments