Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Javier Mauricio Duarte
inference
Commits
cd7030f2
Commit
cd7030f2
authored
Mar 07, 2022
by
Javier Duarte
Browse files
sig figs
parent
ab207239
Pipeline
#3668880
skipped with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dhi/plots/util.py
View file @
cd7030f2
...
...
@@ -128,16 +128,20 @@ def create_hh_xsbr_label(poi="r", br=None):
def
determine_limit_digits
(
limit
,
is_xsec
=
False
):
# TODO: adapt to publication style
if
is_xsec
:
if
limit
<
1
0
:
if
limit
<
1
:
return
2
elif
limit
<
20
0
:
elif
limit
<
1
0
:
return
1
elif
limit
<
200
:
return
0
return
0
else
:
if
limit
<
1
0
:
if
limit
<
1
:
return
2
elif
limit
<
10
0
:
elif
limit
<
10
:
return
1
elif
limit
<
100
:
return
0
return
0
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment