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 0c95fba commit 58596fbCopy full SHA for 58596fb
1 file changed
lib/matplotlib/axes/_axes.py
@@ -4154,7 +4154,6 @@ def _upcast_err(err):
4154
4155
# Make the style dict for the line collections (the bars).
4156
eb_lines_style = {**base_style, 'color': ecolor}
4157
- capthick = mpl._val_or_rc(capthick, "errorbar.capthick")
4158
elinewidth = mpl._val_or_rc(elinewidth, "errorbar.elinewidth")
4159
4160
if elinewidth is not None:
@@ -4172,6 +4171,7 @@ def _upcast_err(err):
4172
4171
# Make the style dict for caps (the "hats").
4173
eb_cap_style = {**base_style, 'linestyle': 'none'}
4174
capsize = mpl._val_or_rc(capsize, "errorbar.capsize")
+ capthick = mpl._val_or_rc(capthick, "errorbar.capthick")
4175
4176
if capsize > 0:
4177
eb_cap_style['markersize'] = 2. * capsize
0 commit comments