Skip to content

Commit

Permalink
do same fix for 2pi zeta case
Browse files Browse the repository at this point in the history
  • Loading branch information
YigitElma committed Aug 31, 2024
1 parent 11fe44b commit add23cd
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 @@ -973,7 +973,7 @@ def plot_3d(
if not grid.nodes[-1][2] == 2 * np.pi:
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
p1, p2 = False, True
elif grid.num_theta == 1:
n1, n2 = grid.num_rho, grid.num_zeta
p1, p2 = False, True
Expand Down

0 comments on commit add23cd

Please sign in to comment.