Skip to content
Snippets Groups Projects
Commit d100dee0 authored by Thomas Kramer's avatar Thomas Kramer
Browse files

comment

parent 6701e1ce
No related branches found
No related tags found
No related merge requests found
...@@ -70,6 +70,7 @@ class InspectRouter(GraphRouter): ...@@ -70,6 +70,7 @@ class InspectRouter(GraphRouter):
pos[n] = (x, y) pos[n] = (x, y)
def hue2rgb(hue: float) -> str: def hue2rgb(hue: float) -> str:
# Create a HTML color code from a hue value.
assert 0. <= hue <= 1. assert 0. <= hue <= 1.
a = 2 * math.pi / 3 a = 2 * math.pi / 3
......
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