Skip to content

[Bug]: new constrained_layout causes axes to go invisible(?) #22264

@anntzer

Description

@anntzer

Bug summary

Since #20426, plt.figure(constrained_layout=True).subplots(3) (or layout="constrained") shows no axes whatsoever.
attn @jklymak, I guess :)

Code for reproduction

See above.

Actual outcome

Blank figure.

Expected outcome

Not blank figure.

Additional information

No response

Operating system

fedora

Matplotlib Version

HEAD, bisects to #20426.

Matplotlib Backend

mplcairo

Python version

310

Jupyter version

No response

Installation

git checkout

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions