Closed
Description
import matplotlib.pyplot as plt
leg = plt.legend()
plt.gcf().canvas.draw()
leg.get_window_extent()
The issue seems to be that #10910 switched which of the children from a patch (which seems to not actually need a renderer to sort out it's size) and a Vpacker (which fixes another bug, but really does need the renderer).