Leaklens

matplotlib__matplotlib-26291

[Bug]: Error while creating inset axes using `mpl_toolkits.axes_grid1.inset_locator.inset_axes`

Verdict: the fix is stated in the issue (Tier A).

The above looks close, but I don't think you need to plumb the figure in? Just do `renderer = ax.figure._get_renderer()` since axes have to have figures?

The text states the fix: “The above looks close, but I don't think you need to plumb the figure in? Just do `renderer = ax.figure._get_renderer()` since axes have to have figures?”

All 500 SWE-bench Verified tasks · more matplotlib/matplotlib tasks · How the check works