Skip to content
Snippets Groups Projects
Commit 15854641 authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Remove lambda to enable saving

parent df3500b8
No related branches found
No related tags found
1 merge request!338Remove lambda to enable saving
Pipeline #96440 passed
......@@ -966,7 +966,7 @@ class Schedule:
def _reset_y_locations(self) -> None:
"""Reset all the y-locations in the schedule to None"""
self._y_locations = defaultdict(lambda: None)
self._y_locations = defaultdict(_y_locations_default)
def plot(self, ax: Axes, operation_gap: Optional[float] = None) -> None:
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment