From fd5e59a7485cac8d13e82682aaba33f0fd98f171 Mon Sep 17 00:00:00 2001 From: Mike Kaufman Date: Sat, 9 Apr 2011 21:55:18 -0400 Subject: [PATCH] add "|-|" to annnotation_guide table with options widthA,widthB modified: ../../doc/users/annotations_guide.rst modified: patches.py --- doc/users/annotations_guide.rst | 1 + lib/matplotlib/patches.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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,