FIX ensure that matplotlib.use('Agg') is called first when building the docs