From b551588d2a90dc30cbc49f962789838b273eefa3 Mon Sep 17 00:00:00 2001 From: Dj1312 <18169686+Dj1312@users.noreply.github.com> Date: Sun, 3 Mar 2024 21:13:09 -0800 Subject: [PATCH] refactor: black compliant --- femwell/maxwell/waveguide.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/femwell/maxwell/waveguide.py b/femwell/maxwell/waveguide.py index a3e11f4f..517a72cc 100644 --- a/femwell/maxwell/waveguide.py +++ b/femwell/maxwell/waveguide.py @@ -366,9 +366,13 @@ def show( **kwargs ): if type(field) is np.ndarray: - warn("The behavior of passing an array directly to `show` " - + "is deprecated and will be removed in the future. " - + "Use `plot` instead.", DeprecationWarning, stacklevel=2) + warn( + "The behavior of passing an array directly to `show` " + + "is deprecated and will be removed in the future. " + + "Use `plot` instead.", + DeprecationWarning, + stacklevel=2, + ) self.plot(field=field, **kwargs) plt.show() else: