mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 12:03:42 +02:00
Merge branch 'develop' into documentation
This commit is contained in:
commit
cdf403593e
2 changed files with 6 additions and 2 deletions
|
@ -758,7 +758,7 @@ class Corr:
|
||||||
|
|
||||||
x, y, y_err = self.plottable()
|
x, y, y_err = self.plottable()
|
||||||
if hide_sigma:
|
if hide_sigma:
|
||||||
hide_from = np.argmax((hide_sigma * np.array(y_err)) > np.abs(y)) - 1
|
hide_from = np.argmax((hide_sigma * np.array(y_err[1:])) > np.abs(y[1:])) - 1
|
||||||
else:
|
else:
|
||||||
hide_from = None
|
hide_from = None
|
||||||
ax1.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=self.tag)
|
ax1.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=self.tag)
|
||||||
|
@ -781,7 +781,7 @@ class Corr:
|
||||||
corr.gamma_method()
|
corr.gamma_method()
|
||||||
x, y, y_err = corr.plottable()
|
x, y, y_err = corr.plottable()
|
||||||
if hide_sigma:
|
if hide_sigma:
|
||||||
hide_from = np.argmax((hide_sigma * np.array(y_err)) > np.abs(y)) - 1
|
hide_from = np.argmax((hide_sigma * np.array(y_err[1:])) > np.abs(y[1:])) - 1
|
||||||
else:
|
else:
|
||||||
hide_from = None
|
hide_from = None
|
||||||
plt.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=corr.tag, mfc=plt.rcParams['axes.facecolor'])
|
plt.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=corr.tag, mfc=plt.rcParams['axes.facecolor'])
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -9,6 +9,10 @@ setup(name='pyerrors',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
url="https://github.com/fjosw/pyerrors",
|
url="https://github.com/fjosw/pyerrors",
|
||||||
|
project_urls= {
|
||||||
|
'Documentation': 'https://fjosw.github.io/pyerrors/pyerrors.html',
|
||||||
|
'Bug Tracker': 'https://github.com/fjosw/pyerrors/issues'
|
||||||
|
},
|
||||||
author='Fabian Joswig',
|
author='Fabian Joswig',
|
||||||
author_email='fabian.joswig@ed.ac.uk',
|
author_email='fabian.joswig@ed.ac.uk',
|
||||||
license="MIT",
|
license="MIT",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue