Skip to content

Commit

Permalink
Merge pull request #759 from poldracklab/oesteban-patch-1
Browse files Browse the repository at this point in the history
[FIX] Set matplotlib backend early
  • Loading branch information
oesteban committed Oct 24, 2018
2 parents 1e26e28 + 29e2d6f commit ccb8c05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mriqc/bin/mriqc_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
import logging
import gc
from pathlib import Path
import matplotlib

from .. import __version__

matplotlib.use('Agg') # Replace matplotlib's backend ASAP (see #758)
logging.addLevelName(25, 'IMPORTANT') # Add a new level between INFO and WARNING
logging.addLevelName(15, 'VERBOSE') # Add a new level between INFO and DEBUG
DEFAULT_MEM_GB = 8
Expand Down

0 comments on commit ccb8c05

Please sign in to comment.