Skip to content

Commit

Permalink
PICMI Tests: A few Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Sep 13, 2024
1 parent fe8ba67 commit f1b448e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def Bt_an(r):

bt_err = np.abs(Bt_mean[r_idx] - Bt_an(r_sub)).max() / np.abs(Bt_an(r_sub)).max()

plt.ylabel("$B_{\Theta}$ (T)")
plt.ylabel(r"$B_{\Theta}$ (T)")
plt.xlabel("r (m)")
plt.title("Max % Error: {} %".format(bt_err * 100.0))
plt.tight_layout()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def Bth_an(r):

bth_err = np.abs(Bth_mean[r_idx] - Bth_an(r_sub)).max() / np.abs(Bth_an(r_sub)).max()

plt.ylabel("$B_{\Theta}$ (T)")
plt.ylabel(r"$B_{\Theta}$ (T)")
plt.xlabel("r (m)")
plt.title("Max % Error: {} %".format(bth_err * 100.0))
plt.tight_layout()
Expand Down

0 comments on commit f1b448e

Please sign in to comment.