diff --git a/doc/users/annotations_guide.rst b/doc/users/annotations_guide.rst index a3e8442d3f0e..bd4d036d6587 100644 --- a/doc/users/annotations_guide.rst +++ b/doc/users/annotations_guide.rst @@ -150,6 +150,7 @@ an arrow patch, according to the given ``arrowstyle``. ``-`` None ``->`` head_length=0.4,head_width=0.2 ``-[`` widthB=1.0,lengthB=0.2,angleB=None + ``|-|`` widthA=1.0,widthB=1.0 ``-|>`` head_length=0.4,head_width=0.2 ``<-`` head_length=0.4,head_width=0.2 ``<->`` head_length=0.4,head_width=0.2 diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index 6080f9cdd8a4..b6d8bdf4d1c3 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -3314,7 +3314,7 @@ def __init__(self, widthB=1., lengthB=0.2, angleB=None): class BarAB(_Bracket): """ - An arrow with a bracket(]) at both ends. + An arrow with a bar(|) at both ends. """ def __init__(self,