Skip to content
Snippets Groups Projects
Verified Commit d310d7c9 authored by Tobias Hangleiter's avatar Tobias Hangleiter
Browse files

Only raise when not in CI

parent 1b684e60
No related branches found
No related tags found
1 merge request!36Threaded acquisition
Pipeline #1438822 waiting for manual action
......@@ -86,7 +86,10 @@ class PlotManager:
fig = plt.figure(**self.figure_kw)
try:
if fig.canvas.required_interactive_framework is None:
if (
fig.canvas.required_interactive_framework is None
and not os.environ.get('GITLAB_CI', False)
):
# https://github.com/matplotlib/matplotlib/issues/20281#issuecomment-846057011
raise RuntimeError('Please enable an interactive backend')
except AttributeError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment