Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 58596fb

Browse files
committed
Moved capthick to line 4174
1 parent 0c95fba commit 58596fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4154,7 +4154,6 @@ def _upcast_err(err):
41544154

41554155
# Make the style dict for the line collections (the bars).
41564156
eb_lines_style = {**base_style, 'color': ecolor}
4157-
capthick = mpl._val_or_rc(capthick, "errorbar.capthick")
41584157
elinewidth = mpl._val_or_rc(elinewidth, "errorbar.elinewidth")
41594158

41604159
if elinewidth is not None:
@@ -4172,6 +4171,7 @@ def _upcast_err(err):
41724171
# Make the style dict for caps (the "hats").
41734172
eb_cap_style = {**base_style, 'linestyle': 'none'}
41744173
capsize = mpl._val_or_rc(capsize, "errorbar.capsize")
4174+
capthick = mpl._val_or_rc(capthick, "errorbar.capthick")
41754175

41764176
if capsize > 0:
41774177
eb_cap_style['markersize'] = 2. * capsize

0 commit comments

Comments
 (0)