Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tight_layout() messes up bbox_to_anchor in legend(). #14432

Closed
Milestone
@sorenwacker

Description

@sorenwacker

Bug report

I want to plot something with the legend outside the figure. I am using

 legend(bbox_to_anchor=(1.2, 1))

To position the legend and then I have to do

 tight_layout()

To make sure the plot is complete when saved to a file.

Unfortunately, tight_layout() pushes the legend into the figure no matter what values I put in the legend function.

It would be nice to have more convenient ways to postion the legend beside or even above or below the figure.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp