I’m working with a library that generates plotly plots in some of its functions. These plots are 2x2 grids of subplots.

I am only interested in one of the subplots coming out of this function. Is there a way to delete subplots and resize the remaining subplot to use the full figure (so the title is properly centered over the subplot, for example)? Alternatively, is there a way to take a subplot and turn it into a new figure?

I’ve been searching the docs and trying to use the various methods on figures/subplots with no luck. Any help would be appreciated!