diff options
-rwxr-xr-x | utils/plot.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/plot.py b/utils/plot.py index e786d0e..83b384e 100755 --- a/utils/plot.py +++ b/utils/plot.py @@ -4,6 +4,12 @@ import yaml import numpy as np from scipy.stats import iqr +# on retina screens, the default plots are way too small +# by using Qt5 and setting QT_AUTO_SCREEN_SCALE_FACTOR=1 +# Qt5 will scale everything using the dpi in ~/.Xresources +import matplotlib +matplotlib.use("Qt5Agg") + SNOMAN_MASS = { 20: 0.511, 21: 0.511, |