Skip to content

Change legend to accept alpha instead of (only) framealpha. #6363

Closed
@lzkelley

Description

@lzkelley

It seems this parameter name comes from the internal parameter being set, e.g. leg.get_frame().set_alpha(0.5), but it seems like it would make much more sense from an API perspective if one could simply use the argument alpha, i.e.

plt.legend(alpha=0.5) instead of plt.legend(framealpha=0.5).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions