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

Skip to content

[ENH]: Shorthand for bbox_to_anchor #31501

@igurin-invn

Description

@igurin-invn

Problem

I find myself issuing the command legend(bbox_to_anchor=(1, 1, 0, 0)) repeatedly. (I guess I make a lot of plt.subplots that are too cramped to accommodate the legend inside the Axes.)

Proposed solution

It would be nice to add a shorthand for this. It could use the existing "location string" options for the loc argument. Note that Matlab has had this for years.

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