Skip to content

Commit c585143

Browse files
committed
removed rebuild limits
1 parent db3865c commit c585143

File tree

3 files changed

+27
-8
lines changed

3 files changed

+27
-8
lines changed

nnpdf_data/nnpdf_data/theory_cards/40022000.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
ID: 40_022_000
2+
<<<<<<< HEAD
23
Comments: Same as 40_022_003, but alphas=0.115
4+
=======
5+
Comments: Mcharm variation. NNPDF4.0 NNLO QCD, TTBAR at fully NNLO instead of K-factors,
6+
non-TTBAR from theory 40_008_005 and grids from 4001, alphas=0.118, mc = 1.41, kcThr = 1.07092198582
7+
>>>>>>> 90f134c85 (create mc variation theory cards)
38
PTO: 2
49
FNS: FONLL-C
510
DAMP: 0
@@ -13,7 +18,11 @@ QED: 0
1318
HQ: POLE
1419
mc: 1.41
1520
Qmc: 1.51
21+
<<<<<<< HEAD
1622
kcThr: 1.070921985815603
23+
=======
24+
kcThr: 1.07092198582
25+
>>>>>>> 90f134c85 (create mc variation theory cards)
1726
mb: 4.92
1827
Qmb: 4.92
1928
kbThr: 1.0
@@ -37,5 +46,9 @@ SIN2TW: 0.23126
3746
TMC: 1
3847
MP: 0.938
3948
Qref: 91.2
49+
<<<<<<< HEAD
4050
alphas: 0.115
51+
=======
52+
alphas: 0.118
53+
>>>>>>> 90f134c85 (create mc variation theory cards)
4154
alphaqed: 0.0077553

nnpdf_data/nnpdf_data/theory_cards/40023000.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
<<<<<<< HEAD
12
ID: 40_023_000
23
Comments: Same as 40_023_003, but alphas=0.115
4+
=======
5+
ID: 40_022_002
6+
Comments: Mcharm variation. Same as 40022000 but with mc = 1.61 and kcThr = 0.9378881988
7+
>>>>>>> 90f134c85 (create mc variation theory cards)
38
PTO: 2
49
FNS: FONLL-C
510
DAMP: 0
@@ -13,7 +18,11 @@ QED: 0
1318
HQ: POLE
1419
mc: 1.61
1520
Qmc: 1.51
21+
<<<<<<< HEAD
1622
kcThr: 0.937888198757764
23+
=======
24+
kcThr: 0.9378881988
25+
>>>>>>> 90f134c85 (create mc variation theory cards)
1726
mb: 4.92
1827
Qmb: 4.92
1928
kbThr: 1.0
@@ -37,5 +46,9 @@ SIN2TW: 0.23126
3746
TMC: 1
3847
MP: 0.938
3948
Qref: 91.2
49+
<<<<<<< HEAD
4050
alphas: 0.115
51+
=======
52+
alphas: 0.118
53+
>>>>>>> 90f134c85 (create mc variation theory cards)
4154
alphaqed: 0.0077553

validphys2/src/validphys/dataplots.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -446,14 +446,7 @@ def _plot_fancy_impl(
446446

447447
lb = labellist[normalize_to]
448448
ax.set_ylabel(f"Ratio to {lb if lb else norm_result.label}")
449-
450-
# rebuild the limtis of the plot
451-
if min_vals and max_vals:
452-
ymin = min(min_vals)
453-
ymax = max(max_vals)
454-
margin = 0.05 * (ymax - ymin)
455-
ax.set_ylim(ymin - margin, ymax + margin)
456-
449+
457450
ax.legend().set_zorder(100000)
458451
ax.set_xlabel(info.xlabel)
459452
fig.tight_layout()

0 commit comments

Comments
 (0)