From f9e41f2bfaf163eea001a71f77d8e274e812e4b5 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Mon, 1 Aug 2022 17:24:21 +0100 Subject: [PATCH 1/2] build: description updated. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f14599a3..4e3326ef 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ with open(convert_path('pyerrors/version.py')) as ver_file: setup(name='pyerrors', version=version['__version__'], - description='Error analysis for lattice QCD', + description='Statistical error analysis for Monte Carlo simulations', long_description=long_description, long_description_content_type='text/markdown', url="https://github.com/fjosw/pyerrors", From cc50ab9ecf71efa9d483a577f2076b84a28d8fe7 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Fri, 12 Aug 2022 11:03:36 +0100 Subject: [PATCH 2/2] fix: bug in Corr.show comp option fixed. --- pyerrors/correlators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyerrors/correlators.py b/pyerrors/correlators.py index 148a1fad..4194072b 100644 --- a/pyerrors/correlators.py +++ b/pyerrors/correlators.py @@ -825,7 +825,7 @@ class Corr: hide_from = np.argmax((hide_sigma * np.array(y_err[1:])) > np.abs(y[1:])) - 1 else: hide_from = None - plt.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=corr.tag, mfc=plt.rcParams['axes.facecolor']) + ax1.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=corr.tag, mfc=plt.rcParams['axes.facecolor']) else: raise Exception("'comp' must be a correlator or a list of correlators.")