From 11fe44b8dd556276a961e08db9fbe11e0743847a Mon Sep 17 00:00:00 2001 From: YigitElma Date: Sat, 31 Aug 2024 00:26:38 -0400 Subject: [PATCH] fix connected theta edges for plot3d --- desc/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desc/plotting.py b/desc/plotting.py index 55fac468f..01d8d5cd2 100644 --- a/desc/plotting.py +++ b/desc/plotting.py @@ -971,7 +971,7 @@ 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 elif grid.num_theta == 1: