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

Skip to content

Commit bfb4998

Browse files
committed
doc: transform should be bbox_transform
1 parent 2da9d8f commit bfb4998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/users/legend_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ axes coordinates.
160160
For example, if you want your axes legend located at the figure corner
161161
(instead of the axes corner)::
162162

163-
l = legend(bbox_to_anchor=(0, 0, 1, 1), transform=gcf().transFigure)
163+
l = legend(bbox_to_anchor=(0, 0, 1, 1), bbox_transform=gcf().transFigure)
164164

165165
Also, you can place above or outer right-hand side of the axes,
166166

0 commit comments

Comments
 (0)