Agg problem Issue #818
Created by: areeda
It looks like there was a recent update to gwpy.__version__
that imports at least 1 of matplotlib.pyplot
, or matplotlib.backends
which prevents us from setting the backend to something that works in a headless environment.
This PR moves our matplotlib.use() to as early as possible in gwpy-plot