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

Skip to content

Commit 14a88d6

Browse files
committed
format api doc
1 parent 1919d2e commit 14a88d6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/matplotlib/legend.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,9 +640,10 @@ def set_loc(self, loc):
640640
641641
Parameters
642642
----------
643-
loc : {'upper left', 'upper right', 'lower left', 'lower right',
644-
'upper center', 'lower center', 'center left', 'center right'
645-
'center', 'right', 'best'}.
643+
loc : str
644+
{'upper left', 'upper right', 'lower left', 'lower right',
645+
'upper center', 'lower center', 'center left', 'center right'
646+
'center', 'right', 'best'}.
646647
If a figure is using the constrained layout manager,
647648
the string codes of the loc keyword argument can get better
648649
layout behaviour using the prefix 'outside'.

0 commit comments

Comments
 (0)