diff options
author | tlatorre <tlatorre@uchicago.edu> | 2018-10-22 13:18:59 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2018-10-22 13:18:59 -0500 |
commit | 12f40b02dc4c091eefa6042e1a8ba52c8b14e0ca (patch) | |
tree | 7d730aa5a8e634c9378f445cb0572465657c5414 | |
parent | 3ce65aa0d5f92cacadbd93028f38390adad78561 (diff) | |
download | sddm-12f40b02dc4c091eefa6042e1a8ba52c8b14e0ca.tar.gz sddm-12f40b02dc4c091eefa6042e1a8ba52c8b14e0ca.tar.bz2 sddm-12f40b02dc4c091eefa6042e1a8ba52c8b14e0ca.zip |
update plot.py
-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, |