Closed
Description
Bug summary
wspace
and hspace
in Figure.subfigures
do nothing.
Code for reproduction
import matplotlib.pyplot as plt
figs = plt.figure().subfigures(2, 2, wspace=0, hspace=0)
for fig in figs.flat:
fig.subplots().plot([1, 2])
plt.show()
Actual outcome
Same figure independently of the values of hspace and wspace.
Expected outcome
matplotlib/lib/matplotlib/figure.py
Lines 1550 to 1554 in b3bd929
Additional information
No response
Operating system
OS/X
Matplotlib Version
3.7.1
Matplotlib Backend
MacOSX
Python version
Python 3.10.9
Jupyter version
No response
Installation
conda