From ad97c80d7fa2d6cda9a19ab22e320c332f535a1d Mon Sep 17 00:00:00 2001 From: Cagtay Fabry <43667554+CagtayFabry@users.noreply.github.com> Date: Thu, 6 Apr 2023 14:14:19 +0200 Subject: [PATCH] remove zip keyword --- weldx/geometry.py | 2 +- weldx/transformations/cs_manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/weldx/geometry.py b/weldx/geometry.py index 1df670b3f..9a78ba0b5 100644 --- a/weldx/geometry.py +++ b/weldx/geometry.py @@ -1453,7 +1453,7 @@ def plot( if isinstance(color, str): # single color color = [color] * len(raster_data) - for segment, c in zip(raster_data, color, strict=True): + for segment, c in zip(raster_data, color): ax.plot(segment[0], segment[1], line_style, label=label, color=c) @property diff --git a/weldx/transformations/cs_manager.py b/weldx/transformations/cs_manager.py index 32b7219bb..a6f6ae7aa 100644 --- a/weldx/transformations/cs_manager.py +++ b/weldx/transformations/cs_manager.py @@ -1196,7 +1196,7 @@ def get_cs( from networkx import shortest_path path = shortest_path(self.graph, coordinate_system_name, reference_system_name) - path_edges = list(zip(path[:-1], path[1:], strict=True)) + path_edges = list(zip(path[:-1], path[1:])) # handle time inputs if time_ref is None: