GridSpec.get_subplot_geometry

GridSpec.get_subplot_geometry()[source]

Return the number of rows and columns allocated for “main” subplots and available with gridspec[...] indexing.