matplotlib.figure.SubFigure.add_gridspec
- SubFigure.add_gridspec(nrows=1, ncols=1, **kwargs)
Low-level API for creating a
GridSpecthat has this figure as a parent.This is a low-level API, allowing you to create a gridspec and subsequently add subplots based on the gridspec. Most users do not need that freedom and should use the higher-level methods or .