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

Skip to content

Commit c928022

Browse files
authored
Merge pull request matplotlib#11517 from joelostblom/legend-docstring
DOC: Update legend loc default value in docstring
2 parents 939c311 + 40c9fdd commit c928022

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/legend.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ def _update_bbox_to_anchor(self, loc_in_canvas):
111111

112112

113113
_legend_kw_doc = '''
114-
loc : int or string or pair of floats, default: 'upper right'
114+
loc : int or string or pair of floats, default: :rc:`legend.loc` ('best' for \
115+
axes, 'upper right' for figures)
115116
The location of the legend. Possible codes are:
116117
117118
=============== =============

0 commit comments

Comments
 (0)