mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
tests: matplotlib figures explicitly closed in tests
This commit is contained in:
parent
0d02e4d4b9
commit
612e6c742b
2 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
import os
|
||||
import numpy as np
|
||||
import scipy
|
||||
import matplotlib.pyplot as plt
|
||||
import pyerrors as pe
|
||||
import pytest
|
||||
|
||||
|
@ -440,6 +441,7 @@ def test_spaghetti_plot():
|
|||
|
||||
corr.spaghetti_plot(True)
|
||||
corr.spaghetti_plot(False)
|
||||
plt.close('all')
|
||||
|
||||
|
||||
def _gen_corr(val, samples=2000):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue