8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Using set_size_inches() correct resizes the figure canvas, but doesn't resize the window with the macosx backend:
set_size_inches()
macosx
import matplotlib matplotlib.use('macosx') import matplotlib.pyplot as plt fig1, ax = plt.subplots() fig1.set_size_inches(2, 2) plt.show()
results in