diff --git a/flatland/utils/graphics_pil.py b/flatland/utils/graphics_pil.py index 89068b6219beeeb0479657f6ae95046744080a7e..6c687667cc4fcc5dcd5035956af91b661e63b111 100644 --- a/flatland/utils/graphics_pil.py +++ b/flatland/utils/graphics_pil.py @@ -83,7 +83,7 @@ class PILGL(GraphicsLayer): self.background_grid = np.zeros(shape=(self.width, self.height)) for x in range(self.width): for y in range(self.height): - distance = int(np.ceil(np.sqrt(self.width**2.0 + self.height**2.0))) + distance = int(np.ceil(np.sqrt(self.width ** 2.0 + self.height ** 2.0))) for rc in dTargets: r = rc[1] c = rc[0]