From f304217d76139da844414d18a82ed4ea6cec8b8e Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sun, 28 Jul 2024 20:09:38 -0700 Subject: [PATCH] format is ok --- masque/file/svg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/masque/file/svg.py b/masque/file/svg.py index 4ff18c5..09e3056 100644 --- a/masque/file/svg.py +++ b/masque/file/svg.py @@ -155,8 +155,8 @@ def poly2path(vertices: ArrayLike) -> str: SVG path-string. """ verts = numpy.array(vertices, copy=False) - commands = 'M{:g},{:g} '.format(verts[0][0], verts[0][1]) + commands = 'M{:g},{:g} '.format(verts[0][0], verts[0][1]) # noqa: UP032 for vertex in verts[1:]: - commands += 'L{:g},{:g}'.format(vertex[0], vertex[1]) + commands += 'L{:g},{:g}'.format(vertex[0], vertex[1]) # noqa: UP032 commands += ' Z ' return commands