Skip to content

Commit fd5e59a

Browse files
committed
add "|-|" to annnotation_guide table with options widthA,widthB
modified: ../../doc/users/annotations_guide.rst modified: patches.py
1 parent 4bcec9c commit fd5e59a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/users/annotations_guide.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ an arrow patch, according to the given ``arrowstyle``.
150150
``-`` None
151151
``->`` head_length=0.4,head_width=0.2
152152
``-[`` widthB=1.0,lengthB=0.2,angleB=None
153+
``|-|`` widthA=1.0,widthB=1.0
153154
``-|>`` head_length=0.4,head_width=0.2
154155
``<-`` head_length=0.4,head_width=0.2
155156
``<->`` head_length=0.4,head_width=0.2

lib/matplotlib/patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3314,7 +3314,7 @@ def __init__(self, widthB=1., lengthB=0.2, angleB=None):
33143314

33153315
class BarAB(_Bracket):
33163316
"""
3317-
An arrow with a bracket(]) at both ends.
3317+
An arrow with a bar(|) at both ends.
33183318
"""
33193319

33203320
def __init__(self,

0 commit comments

Comments
 (0)