Skip to content

Commit

Permalink
Remove precision specifier for flow bin labels
Browse files Browse the repository at this point in the history
  • Loading branch information
atownse2 committed Jun 11, 2024
1 parent 11d70df commit eb6104d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mplhep/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,8 @@ def iterable_not_string(arg):
)

elif flow == "show":
underflow_xticklabel = f"<{flow_bins[1]:.2g}"
overflow_xticklabel = f">{flow_bins[-2]:.2g}"
underflow_xticklabel = f"<{flow_bins[1]:g}"
overflow_xticklabel = f">{flow_bins[-2]:g}"

# Loop over shared x axes to get xticks and xticklabels
xticks, xticklabels = np.array([]), []
Expand Down

0 comments on commit eb6104d

Please sign in to comment.