diff --git a/desc/plotting.py b/desc/plotting.py index 55fac468f3..520d1c9524 100644 --- a/desc/plotting.py +++ b/desc/plotting.py @@ -971,9 +971,9 @@ def plot_3d( if grid.num_rho == 1: n1, n2 = grid.num_theta, grid.num_zeta if not grid.nodes[-1][2] == 2 * np.pi: - p1, p2 = True, False + p1, p2 = False, False else: - p1, p2 = True, True + p1, p2 = False, True elif grid.num_theta == 1: n1, n2 = grid.num_rho, grid.num_zeta p1, p2 = False, True