From b856195500eaeab1dfa38385294c05bc9657c2ab Mon Sep 17 00:00:00 2001 From: Dorota Jarecka Date: Mon, 24 Apr 2017 18:51:59 -0400 Subject: [PATCH] changing backend --- nipype/algorithms/rapidart.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nipype/algorithms/rapidart.py b/nipype/algorithms/rapidart.py index b8aca927b6..b0511c0fc6 100644 --- a/nipype/algorithms/rapidart.py +++ b/nipype/algorithms/rapidart.py @@ -330,6 +330,8 @@ def _list_outputs(self): return outputs def _plot_outliers_with_wave(self, wave, outliers, name): + import matplotlib + matplotlib.use(config.get("execution", "matplotlib_backend")) import matplotlib.pyplot as plt plt.plot(wave) plt.ylim([wave.min(), wave.max()])