Skip to content

Commit

Permalink
fix connected theta edges for plot3d
Browse files Browse the repository at this point in the history
  • Loading branch information
YigitElma committed Aug 31, 2024
1 parent 2ebdf6a commit 11fe44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desc/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 974 in desc/plotting.py

View check run for this annotation

Codecov / codecov/patch

desc/plotting.py#L974

Added line #L974 was not covered by tests
else:
p1, p2 = True, True
elif grid.num_theta == 1:
Expand Down

0 comments on commit 11fe44b

Please sign in to comment.