Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added some more documentation regarding "capthick".

  • Loading branch information...
commit 8a26ab7d0b8b3a7d6b8f7f1c6090ef95b061f4b8 1 parent 19c20be
@WeatherGod authored
Showing with 8 additions and 1 deletion.
  1. +7 −0 doc/api/api_changes.rst
  2. +1 −1  lib/matplotlib/axes.py
View
7 doc/api/api_changes.rst
@@ -55,6 +55,13 @@ Changes in 1.2.x
:class:`~matplotlib.colorbar.ColorbarBase` allows one to control the size of
the triangular minimum and maximum extensions on colorbars.
+* A new keyword *capthick* in :meth:`~matplotlib.pyplot.errorbar` has been
+ added as an intuitive alias to the *markeredgewidth* and *mew* keyword
+ arguments, which indirectly controlled the thickness of the caps on
+ the errorbars. For backwards compatibility, specifying either of the
+ original keyword arguments will override any value provided by
+ *capthick*.
+
Changes in 1.1.x
================
View
2  lib/matplotlib/axes.py
@@ -5219,7 +5219,7 @@ def errorbar(self, x, y, yerr=None, xerr=None,
The linewidth of the errorbar lines. If *None*, use the linewidth.
*capsize*: scalar
- The size of the error bar caps in points
+ The length of the error bar caps in points
*capthick*: scalar
An alias kwarg to *markeredgewidth* (a.k.a. - *mew*). This
Please sign in to comment.
Something went wrong with that request. Please try again.