Skip to content

set_size_inches doesn't resize window on macosx backend #15131

@dstansby

Description

@dstansby

Using set_size_inches() correct resizes the figure canvas, but doesn't resize the window with the macosx backend:

import matplotlib
matplotlib.use('macosx')
import matplotlib.pyplot as plt

fig1, ax = plt.subplots()
fig1.set_size_inches(2, 2)
plt.show()

results in
Screenshot 2019-08-26 at 18 06 29

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions