8000 doc: State default for legend's `markerfirst` by musoke · Pull Request #8602 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

doc: State default for legend's markerfirst #8602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,10 @@ def legend(self, *args, **kwargs):
the ``legend.markerscale`` :data:`rcParam <matplotlib.rcParams>`.

markerfirst : bool
if *True*, legend marker is placed to the left of the legend label
if *False*, legend marker is placed to the right of the legend
label
If *True*, legend marker is placed to the left of the legend label.
If *False*, legend marker is placed to the right of the legend
label.
Default is *True*.

frameon : None or bool
Control whether the legend should be drawn on a patch (frame).
Expand Down
1 change: 1 addition & 0 deletions lib/matplotlib/figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1329,6 +1329,7 @@ def legend(self, *args, **kwargs):
If *True*, legend marker is placed to the left of the legend label.
If *False*, legend marker is placed to the right of the legend
label.
Default is *True*.

frameon : None or bool
Control whether the legend should be drawn on a patch (frame).
Expand Down
0