8000 STY: make default legend edgecolor gray by efiring · Pull Request #6770 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

STY: make default legend edgecolor gray #6770

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 4 commits into from
Jul 25, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to 8000 file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Document new kwargs in Axes.legend docstring
  • Loading branch information
efiring committed Jul 17, 2016
commit aa857adee21c07146741e92dd12d9d8d910cdc4d
18 changes: 16 additions & 2 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def legend(self, *args, **kwargs):
label

frameon : None or bool
Control whether a frame should be drawn around the legend.
Control whether the legend should be drawn on a patch (frame).
Default is ``None`` which will take the value from the
``legend.frameon`` :data:`rcParam<matplotlib.rcParams>`.

Expand All @@ -425,10 +425,24 @@ def legend(self, *args, **kwargs):
``legend.shadow`` :data:`rcParam<matplotlib.rcParams>`.

framealpha : None or float
Control the alpha transparency of the legend's frame.
Control the alpha transparency of the legend's background.
Default is ``None`` which will take the value from the
``legend.framealpha`` :data:`rcParam<matplotlib.rcParams>`.

facecolor : None or "inherit" or a color spec
Control the legend's background color.
Default is ``None`` which will take the value from the
``legend.facecolor`` :data:`rcParam<matplotlib.rcParams>`.
If ``"inherit"``, it will take the ``axes.facecolor``
:data:`rcParam<matplotlib.rcParams>`.

edgecolor : None or "inherit" or a color spec
Control the legend's background patch edge color.
Default is ``None`` which will take the value from the
``legend.edgecolor`` :data:`rcParam<matplotlib.rcParams>`.
If ``"inherit"``, it will take the ``axes.edgecolor``
:data:`rcParam<matplotlib.rcParams>`.

mode : {"expand", None}
If `mode` is set to ``"expand"`` the legend will be horizontally
expanded to fill the axes area (or `bbox_to_anchor` if defines
Expand Down
0