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
1 merge request!174Fix usages of deprecated features.
Pipeline #67815 passed with stages
in 27 minutes and 15 seconds
...@@ -107,6 +107,7 @@ class IPyNbTest(pytest.Item): ...@@ -107,6 +107,7 @@ class IPyNbTest(pytest.Item):
# disable matplotlib output # disable matplotlib output
exec("import matplotlib.pyplot as p; " exec("import matplotlib.pyplot as p; "
"p.close('all'); "
"p.switch_backend('Template')", global_dict) "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 # in notebooks there is an implicit plt.show() - if this is not called a warning is shown when the next
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment