Skip to content

Commit ce523a8

Browse files
committed
Update type for all save_dir in plots
1 parent 96fe6e1 commit ce523a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/acbm/assigning/plots.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def plot_workzone_assignment_line(
1717
n: int,
1818
selection_type: str = "random",
1919
sort_by: str = "assigned",
20-
save_dir: Optional[str] = None,
20+
save_dir: str | Path | None = None,
2121
display: bool = False,
2222
):
2323
"""
@@ -136,7 +136,7 @@ def plot_workzone_assignment_heatmap(
136136
n: int,
137137
selection_type: str = "random",
138138
sort_by: str = "assigned",
139-
save_dir: Optional[str] = None,
139+
save_dir: str | Path | None = None,
140140
display: bool = False,
141141
):
142142
"""
@@ -240,7 +240,7 @@ def plot_desire_lines(
240240
bin_size: int,
241241
boundaries: gpd.GeoDataFrame,
242242
sample_size: Optional[int] = None,
243-
save_dir: str | None | Path = None,
243+
save_dir: str | Path | None = None,
244244
) -> None:
245245
"""
246246
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(
389389
title_prefix: str,
390390
activity_type: str,
391391
activity_type_col: str,
392-
save_dir: str | None | Path = None,
392+
save_dir: str | Path | None = None,
393393
display: bool = False,
394394
):
395395
"""

0 commit comments

Comments
 (0)