From 01c65942b67b04d41e33b0288a68581e258524e9 Mon Sep 17 00:00:00 2001
From: Oscar Gustafsson <oscar.gustafsson@gmail.com>
Date: Tue, 17 Jan 2023 12:18:02 +0100
Subject: [PATCH] Reformat

---
 b_asic/schedule.py | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/b_asic/schedule.py b/b_asic/schedule.py
index 3e8d7201..ae41ba0b 100644
--- a/b_asic/schedule.py
+++ b/b_asic/schedule.py
@@ -420,9 +420,17 @@ class Schedule:
                         [start[0], (start[1] + end[1]) / 2],
                         [start[0] - 0.2, (start[1] + end[1]) / 2],
                         [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')
                 ax.add_patch(pp)
@@ -434,12 +442,11 @@ class Schedule:
                         [(start[0] + end[0]) / 2, end[1]],
                         end,
                     ],
-                    [Path.MOVETO, Path.CURVE4, Path.CURVE4, Path.CURVE4]
-                    )
+                    [Path.MOVETO, Path.CURVE4, Path.CURVE4, Path.CURVE4],
+                )
                 pp = PathPatch(p, fc='none')
                 ax.add_patch(pp)
 
-
         def _draw_offset_arrow(
             start, end, start_offset, end_offset, name="", laps=0
         ):
-- 
GitLab