From c932aee2ae5d942b66648aa7c6282989981607cf Mon Sep 17 00:00:00 2001 From: Manuel Gunther <siebenkopf@googlemail.com> Date: Thu, 7 Sep 2017 12:17:08 -0600 Subject: [PATCH] Turning off interactive mode to avoid figure popup --- bob/bio/base/script/evaluate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bob/bio/base/script/evaluate.py b/bob/bio/base/script/evaluate.py index 38654b08..5ceaeb81 100644 --- a/bob/bio/base/script/evaluate.py +++ b/bob/bio/base/script/evaluate.py @@ -12,6 +12,7 @@ from __future__ import print_function import matplotlib matplotlib.use('pdf') # avoids TkInter threaded start from matplotlib import pyplot +pyplot.ioff() # turn off interactive mode -- no figure window will be shown from matplotlib.backends.backend_pdf import PdfPages # import bob.measure after matplotlib, so that it cannot define the backend -- GitLab