8000 Backport PR #11517: Update legend loc default value in docstring · matplotlib/matplotlib@b283876 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b283876

Browse files
tacaswellMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR #11517: Update legend loc default value in docstring
1 parent 062db6d commit b283876

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
@@ -110,7 +110,8 @@ def _update_bbox_to_anchor(self, loc_in_canvas):
110110

111111

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

0 commit comments

Comments
 (0)
0