From 7d0966e9dd3d715bc21f195137dfaa30594f5c29 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Jul 2022 22:01:35 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- nxviz/polcart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxviz/polcart.py b/nxviz/polcart.py index 19ac197f..7c1727e9 100644 --- a/nxviz/polcart.py +++ b/nxviz/polcart.py @@ -25,7 +25,7 @@ def to_polar(x, y): Converts cartesian x, y to polar r, theta. """ theta = atan2(y, x) - r = sqrt(x ** 2 + y ** 2) + r = sqrt(x**2 + y**2) if theta < 0: theta += 2 * np.pi