Skip to content

Commit 3e48ded

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8db9498 commit 3e48ded

File tree

1 file changed

+3
-3
lines changed
  • Examples/Tests/ohm_solver_ion_beam_instability

1 file changed

+3
-3
lines changed

Examples/Tests/ohm_solver_ion_beam_instability/analysis.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@
8888

8989
t_grid = np.arange(num_steps) * dt * sim.w_ci
9090
plt.plot(
91-
t_grid, np.abs(field_kt[:, 4] / sim.B0), "r", label=fr"m = 4, $kl_i={k[4]:.2f}$"
91+
t_grid, np.abs(field_kt[:, 4] / sim.B0), "r", label=rf"m = 4, $kl_i={k[4]:.2f}$"
9292
)
9393
plt.plot(
94-
t_grid, np.abs(field_kt[:, 5] / sim.B0), "b", label=fr"m = 5, $kl_i={k[5]:.2f}$"
94+
t_grid, np.abs(field_kt[:, 5] / sim.B0), "b", label=rf"m = 5, $kl_i={k[5]:.2f}$"
9595
)
9696
plt.plot(
97-
t_grid, np.abs(field_kt[:, 6] / sim.B0), "k", label=fr"m = 6, $kl_i={k[6]:.2f}$"
97+
t_grid, np.abs(field_kt[:, 6] / sim.B0), "k", label=rf"m = 6, $kl_i={k[6]:.2f}$"
9898
)
9999

100100
# The theoretical growth rates for the 4th, 5th and 6th Fourier modes of

0 commit comments

Comments
 (0)