Skip to content
Snippets Groups Projects
Commit 83ba76e5 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

be more aggressive about closing figures

parent 1af72066
No related branches found
No related tags found
1 merge request!174Fix usages of deprecated features.
Pipeline #67815 passed
......@@ -107,6 +107,7 @@ class IPyNbTest(pytest.Item):
# disable matplotlib output
exec("import matplotlib.pyplot as p; "
"p.close('all'); "
"p.switch_backend('Template')", global_dict)
# in notebooks there is an implicit plt.show() - if this is not called a warning is shown when the next
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment