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

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add "|-|" to annnotation_guide table with options widthA,widthB
	modified:   ../../doc/users/annotations_guide.rst
	modified:   patches.py
  • Loading branch information
kaufman committed Apr 10, 2011
commit fd5e59a7485cac8d13e82682aaba33f0fd98f171
1 change: 1 addition & 0 deletions doc/users/annotations_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down