Merge branch 'fjosw:develop' into develop

This commit is contained in:
JanNeuendorf 2022-06-14 15:51:18 +02:00 committed by GitHub
commit 26c57a8d1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -1,6 +1,7 @@
import os import os
import numpy as np import numpy as np
import scipy import scipy
import matplotlib.pyplot as plt
import pyerrors as pe import pyerrors as pe
import pytest import pytest
@ -440,6 +441,7 @@ def test_spaghetti_plot():
corr.spaghetti_plot(True) corr.spaghetti_plot(True)
corr.spaghetti_plot(False) corr.spaghetti_plot(False)
plt.close('all')
def _gen_corr(val, samples=2000): def _gen_corr(val, samples=2000):

View file

@ -1,6 +1,7 @@
import autograd.numpy as np import autograd.numpy as np
import os import os
import copy import copy
import matplotlib.pyplot as plt
import pyerrors as pe import pyerrors as pe
import pytest import pytest
@ -56,6 +57,7 @@ def test_Obs_exceptions():
one.gamma_method() one.gamma_method()
with pytest.raises(Exception): with pytest.raises(Exception):
one.plot_piechart() one.plot_piechart()
plt.close('all')
def test_dump(): def test_dump():
value = np.random.normal(5, 10) value = np.random.normal(5, 10)
@ -368,6 +370,7 @@ def test_utils():
assert my_obs < (my_obs + 1) assert my_obs < (my_obs + 1)
float(my_obs) float(my_obs)
str(my_obs) str(my_obs)
plt.close('all')
def test_cobs(): def test_cobs():