From 12f40b02dc4c091eefa6042e1a8ba52c8b14e0ca Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 22 Oct 2018 13:18:59 -0500 Subject: update plot.py --- utils/plot.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'utils/plot.py') 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, -- cgit