Skip to content
Snippets Groups Projects
Commit c932aee2 authored by Manuel Günther's avatar Manuel Günther
Browse files

Turning off interactive mode to avoid figure popup

parent 305b846f
No related branches found
No related tags found
1 merge request!96Resolve "matplotlib Invalid DISPLAY variable"
Pipeline #
...@@ -12,6 +12,7 @@ from __future__ import print_function ...@@ -12,6 +12,7 @@ from __future__ import print_function
import matplotlib import matplotlib
matplotlib.use('pdf') # avoids TkInter threaded start matplotlib.use('pdf') # avoids TkInter threaded start
from matplotlib import pyplot from matplotlib import pyplot
pyplot.ioff() # turn off interactive mode -- no figure window will be shown
from matplotlib.backends.backend_pdf import PdfPages from matplotlib.backends.backend_pdf import PdfPages
# import bob.measure after matplotlib, so that it cannot define the backend # import bob.measure after matplotlib, so that it cannot define the backend
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment