Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Aug 15, 2023
1 parent e571882 commit 8e0e915
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/simple_log_weight.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
for idx, (lower, upper) in enumerate(h.axes[0]):
val = h[idx]
print(
"bin {} [{:g}, {:g}): {} +/- {}".format(
idx, lower, upper, val.value, val.variance**0.5
)
f"bin {idx} [{lower:g}, {upper:g}): {val.value} +/- {val.variance**0.5}"
)

# under- and overflow bin
Expand Down

0 comments on commit 8e0e915

Please sign in to comment.