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

Skip to content

tight layout kwargs have no effect if rc autolayout setting is set (MPL 1.5.3) #7805

Closed
@andim

Description

@andim

Bug report

Bug summary

kwargs passed to tight layout do not have an effect if rc the figure.autolayout setting is set

Code for reproduction

No padding is inserted in the following example if figure.autolayout is set to True in the rc

import matplotlib.pyplot as plt
fig, axes = plt.subplots(ncols=2)
fig.tight_layout(w_pad=10)

Matplotlib version

Tested with a conda installed Matplotlib 1.5.3 on Ubuntu Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    keepItems to be ignored by the “Stale” Github Action

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions