Skip to content

Commit

Permalink
remove zip keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
CagtayFabry committed Apr 6, 2023
1 parent 8ef9500 commit ad97c80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion weldx/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion weldx/transformations/cs_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ad97c80

Please sign in to comment.