diff --git a/femwell/maxwell/waveguide.py b/femwell/maxwell/waveguide.py index 708b0a3e..f0862486 100644 --- a/femwell/maxwell/waveguide.py +++ b/femwell/maxwell/waveguide.py @@ -382,7 +382,7 @@ def show(self, field: Literal["E", "H"] | NDArray, **kwargs): title = kwargs.get("title", "E") if plot_vectors is True: - rc = (2, 1) if direction != "x" else (1, 3) + rc = (2, 1) if direction != "x" else (1, 2) fig, axs = plt.subplots(*rc, subplot_kw=dict(aspect=1)) self.plot_component(field, "t", part, boundaries, colorbar, axs[0])