@@ -970,43 +970,27 @@ def __init__(self, loc,
970
970
Parameters
971
971
----------
972
972
loc : str
973
- The box location. Supported values:
974
-
975
- - 'upper right'
976
- - 'upper left'
977
- - 'lower left'
978
- - 'lower right'
979
- - 'center left'
980
- - 'center right'
981
- - 'lower center'
982
- - 'upper center'
983
- - 'center'
984
-
973
+ The box location. Valid locations are
974
+ 'upper left', 'upper center', 'upper right',
975
+ 'center left', 'center', 'center right',
976
+ 'lower left', 'lower center, 'lower right'.
985
977
For backward compatibility, numeric values are accepted as well.
986
978
See the parameter *loc* of `.Legend` for details.
987
-
988
979
pad : float, default: 0.4
989
980
Padding around the child as fraction of the fontsize.
990
-
991
981
borderpad : float, default: 0.5
992
982
Padding between the offsetbox frame and the *bbox_to_anchor*.
993
-
994
983
child : `.OffsetBox`
995
984
The box that will be anchored.
996
-
997
985
prop : `.FontProperties`
998
986
This is only used as a reference for paddings. If not given,
999
987
:rc:`legend.fontsize` is used.
1000
-
1001
988
frameon : bool
1002
989
Whether to draw a frame around the box.
1003
-
1004
990
bbox_to_anchor : `.BboxBase`, 2-tuple, or 4-tuple of floats
1005
991
Box that is used to position the legend in conjunction with *loc*.
1006
-
1007
992
bbox_transform : None or :class:`matplotlib.transforms.Transform`
1008
993
The transform for the bounding box (*bbox_to_anchor*).
1009
-
1010
994
**kwargs
1011
995
All other parameters are passed on to `.OffsetBox`.
1012
996
0 commit comments