Skip to content

Commit adc6c44

Browse files
author
Kyle Beyer
committed
pretty figs
1 parent 03069b5 commit adc6c44

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/data_curation_tutorial.ipynb

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

src/exfor_tools/exfor_tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -989,9 +989,9 @@ def set_label(
989989
label_location = (label_xloc_deg, label_yloc)
990990

991991
if log:
992-
offset_text = f"($\\times$ {offset:0e})"
992+
offset_text = f"\n($\\times$ {offset:1.0e})"
993993
else:
994-
offset_text = f"($+$ {offset:1f})"
994+
offset_text = f"\n($+$ {offset:1.0f})"
995995

996996
m = measurements[0]
997997
label = ""

0 commit comments

Comments
 (0)