mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 11:33:42 +02:00
Errorbars in plot_corrs are now centered around marker.
This commit is contained in:
parent
d9b2077d2c
commit
fc853f81c0
1 changed files with 2 additions and 1 deletions
|
@ -1137,7 +1137,8 @@ def plot_corrs(observables, **kwargs):
|
||||||
y[i] = observables[j][i].value
|
y[i] = observables[j][i].value
|
||||||
y_err[i] = observables[j][i].dvalue
|
y_err[i] = observables[j][i].dvalue
|
||||||
|
|
||||||
plt.errorbar(x, y, yerr=y_err, ls='none', fmt='o', capsize=3, markersize=5, label=label[j])
|
plt.errorbar(x, y, yerr=y_err, ls='none', fmt='o', capsize=3,
|
||||||
|
markersize=5, lw=1, label=label[j])
|
||||||
|
|
||||||
if kwargs.get('logscale'):
|
if kwargs.get('logscale'):
|
||||||
plt.yscale('log')
|
plt.yscale('log')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue