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 c928022

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎lib/matplotlib/legend.py

Copy file name to clipboardExpand all lines: lib/matplotlib/legend.py
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.