From b08aa85592368d800c3eeb43e24a9c1545ed52ba Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Jun 2022 22:16:21 +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