Skip to content

Commit

Permalink
run black on changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gregordecristoforo committed Apr 30, 2024
1 parent ca4f1e1 commit 3b6c047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xfeltor/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _normalise_time_coord(time_values):
tmax = time_values.max()
if tmax < 1.0e-2 or tmax > 1.0e6:
scale_pow = int(np.floor(np.log10(tmax)))
scale_factor = 10 ** scale_pow
scale_factor = 10**scale_pow
time_values = time_values / scale_factor
suffix = f"e{scale_pow}"
else:
Expand Down

0 comments on commit 3b6c047

Please sign in to comment.