Skip to content

Commit

Permalink
Fix #192 (1D error bounds issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukelbd committed Jun 17, 2020
1 parent 3584bc5 commit ef2d72c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proplot/axes/plot.py
Expand Up @@ -998,8 +998,8 @@ def _get_error_data(
if err.ndim == 1:
abserr = err
err = np.empty((2, err.size))
err[:, 0] = y - abserr # translated back to absolute deviations below
err[:, 1] = y + abserr
err[0, :] = y - abserr # translated back to absolute deviations below
err[1, :] = y + abserr
elif stds is not None:
label_default = fr'{stds[1]}$\sigma$ range'
err = y + np.std(data, axis=0)[None, :] * np.asarray(stds)[:, None]
Expand Down

0 comments on commit ef2d72c

Please sign in to comment.