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

Reformat

parent 8ae391d5
No related branches found
No related tags found
No related merge requests found
Pipeline #87625 failed
...@@ -420,9 +420,17 @@ class Schedule: ...@@ -420,9 +420,17 @@ class Schedule:
[start[0], (start[1] + end[1]) / 2], [start[0], (start[1] + end[1]) / 2],
[start[0] - 0.2, (start[1] + end[1]) / 2], [start[0] - 0.2, (start[1] + end[1]) / 2],
[start[0] - 0.2, end[1]], [start[0] - 0.2, end[1]],
end end,
],
[
Path.MOVETO,
Path.CURVE4,
Path.CURVE4,
Path.CURVE4,
Path.CURVE4,
Path.CURVE4,
Path.CURVE4,
], ],
[Path.MOVETO, Path.CURVE4, Path.CURVE4, Path.CURVE4, Path.CURVE4, Path.CURVE4, Path.CURVE4]
) )
pp = PathPatch(p, fc='none') pp = PathPatch(p, fc='none')
ax.add_patch(pp) ax.add_patch(pp)
...@@ -434,12 +442,11 @@ class Schedule: ...@@ -434,12 +442,11 @@ class Schedule:
[(start[0] + end[0]) / 2, end[1]], [(start[0] + end[0]) / 2, end[1]],
end, end,
], ],
[Path.MOVETO, Path.CURVE4, Path.CURVE4, Path.CURVE4] [Path.MOVETO, Path.CURVE4, Path.CURVE4, Path.CURVE4],
) )
pp = PathPatch(p, fc='none') pp = PathPatch(p, fc='none')
ax.add_patch(pp) ax.add_patch(pp)
def _draw_offset_arrow( def _draw_offset_arrow(
start, end, start_offset, end_offset, name="", laps=0 start, end, start_offset, end_offset, name="", laps=0
): ):
......
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