From b739534cfe35ed384116c8843935ad8fec0056da Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Wed, 12 Mar 2025 23:17:29 -0700 Subject: [PATCH] [draw] fix missing brackets --- gridlock/draw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gridlock/draw.py b/gridlock/draw.py index 4930231..0b93d20 100644 --- a/gridlock/draw.py +++ b/gridlock/draw.py @@ -252,8 +252,8 @@ class GridDrawMixin(GridPosMixin): u_min, u_max = self.exyz[surface[0]][[0, -1]] v_min, v_max = self.exyz[surface[1]][[0, -1]] - margin = 4 * numpy.max(self.dxyz[surface[0]].max(), - self.dxyz[surface[1]].max()) + margin = 4 * numpy.max([self.dxyz[surface[0]].max(), + self.dxyz[surface[1]].max()]) p = numpy.array([[u_min - margin, v_max + margin], [u_max + margin, v_max + margin],