diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index 91f7bbee37f2..79a31897901f 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -3475,7 +3475,7 @@ def __init__(self, widthA=1., lengthA=0.2, angleA=0): class BracketB(_Bracket): """An arrow with an outward square bracket at its end.""" - def __init__(self, widthB=1., lengthB=0.2, angleB=None): + def __init__(self, widthB=1., lengthB=0.2, angleB=0): """ Parameters ---------- @@ -3516,9 +3516,7 @@ def __init__(self, class BarAB(_Bracket): """An arrow with vertical bars ``|`` at both ends.""" - def __init__(self, - widthA=1., angleA=None, - widthB=1., angleB=None): + def __init__(self, widthA=1., angleA=0, widthB=1., angleB=0): """ Parameters ----------