Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 771707f commit bde146bCopy full SHA for bde146b
1 file changed
lib/matplotlib/axes/_axes.py
@@ -2956,8 +2956,8 @@ def extract_err(err, data):
2956
fe = safe_first_element(err)
2957
if not ((len(err) == len(data) and not (iterable(fe) and
2958
len(fe) > 1))):
2959
- raise ValueError("err must be a scalar, the same "
2960
- "dimensions as x, or 2xN.")
+ raise ValueError("err must be [ scalar | N, Nx1 "
+ "or 2xN array-like ]")
2961
# using list comps rather than arrays to preserve units
2962
low = [thisx - thiserr for (thisx, thiserr)
2963
in cbook.safezip(data, err)]
0 commit comments