diff --git a/.gitignore b/.gitignore index fd0ce85d..476d09ca 100644 --- a/.gitignore +++ b/.gitignore @@ -49,6 +49,8 @@ coverage.xml *.cover .hypothesis/ .pytest_cache/ +flow_th1.root +result_images/ # Translations *.mo diff --git a/src/mplhep/label.py b/src/mplhep/label.py index c1b21e8e..5cb28215 100644 --- a/src/mplhep/label.py +++ b/src/mplhep/label.py @@ -183,7 +183,7 @@ def dist(tup): transform=_t, ha="left", va=loc2_dict[loc]["va"], - fontsize=_font_size, + fontsize=_font_size * 1.2 if exp == "ATLAS" else _font_size, fontname=fontname, fontstyle="italic" if italic[1] else "normal", ) @@ -329,7 +329,7 @@ def exp_label( fontname : string, optional Name of font to be used. fontsize : string, optional - Defines size of "secondary label". Experiment label is 1.3x larger. + Defines size of the experiment label and the secondary label. exp_weight : string, optional Set fontweight of label. Default "bold". italic : (bool, bool, bool), optional diff --git a/tests/baseline/test_style_atlas.png b/tests/baseline/test_style_atlas.png index d5ba4547..0a57f193 100644 Binary files a/tests/baseline/test_style_atlas.png and b/tests/baseline/test_style_atlas.png differ