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

Skip to content

Commit 8a26ab7

Browse files
committed
Added some more documentation regarding "capthick".
1 parent 19c20be commit 8a26ab7

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

doc/api/api_changes.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ Changes in 1.2.x
5555
:class:`~matplotlib.colorbar.ColorbarBase` allows one to control the size of
5656
the triangular minimum and maximum extensions on colorbars.
5757

58+
* A new keyword *capthick* in :meth:`~matplotlib.pyplot.errorbar` has been
59+
added as an intuitive alias to the *markeredgewidth* and *mew* keyword
60+
arguments, which indirectly controlled the thickness of the caps on
61+
the errorbars. For backwards compatibility, specifying either of the
62+
original keyword arguments will override any value provided by
63+
*capthick*.
64+
5865
Changes in 1.1.x
5966
================
6067

lib/matplotlib/axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5219,7 +5219,7 @@ def errorbar(self, x, y, yerr=None, xerr=None,
52195219
The linewidth of the errorbar lines. If *None*, use the linewidth.
52205220
52215221
*capsize*: scalar
5222-
The size of the error bar caps in points
5222+
The length of the error bar caps in points
52235223
52245224
*capthick*: scalar
52255225
An alias kwarg to *markeredgewidth* (a.k.a. - *mew*). This

0 commit comments

Comments
 (0)