mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
tests: additional tests for generalization of misc.errorbar added.
This commit is contained in:
parent
6ed357b51d
commit
c03e4669a0
1 changed files with 5 additions and 2 deletions
|
@ -12,6 +12,9 @@ def test_obs_errorbar():
|
|||
x_obs.append(pe.pseudo_Obs(x, 0.1, "test"))
|
||||
y_obs.append(pe.pseudo_Obs(x ** 2, 0.1, "test"))
|
||||
|
||||
pe.errorbar(x_float, y_obs, marker="x", ms=2)
|
||||
pe.errorbar(x_obs, y_obs, marker="x", ms=2)
|
||||
for xerr in [2, None]:
|
||||
for yerr in [0.1, None]:
|
||||
pe.errorbar(x_float, y_obs, marker="x", ms=2, xerr=xerr, yerr=yerr)
|
||||
pe.errorbar(x_obs, y_obs, marker="x", ms=2, xerr=xerr, yerr=yerr)
|
||||
|
||||
plt.close('all')
|
||||
|
|
Loading…
Add table
Reference in a new issue