diff --git a/src/lclayout/graphrouter/inspect.py b/src/lclayout/graphrouter/inspect.py index 2d053c62b66eb6e0f988fc42de3dd4ad69d01653..beabe3fd4aa7661e58d58f71e4b0db91ea96e503 100644 --- a/src/lclayout/graphrouter/inspect.py +++ b/src/lclayout/graphrouter/inspect.py @@ -74,7 +74,7 @@ class InspectRouter(GraphRouter): assert 0. <= hue <= 1. a = 2 * math.pi / 3 - [r,g,b] = [int(255* math.cos(hue*math.pi + i*a) ** 2) for i in range(3)] + r,g,b = (int(255* math.cos(hue*math.pi + i*a) ** 2) for i in range(3)) return f"#{r:02x}{g:02x}{b:02x}"