GridSpec.get_active_geometry

GridSpec.get_active_geometry()[source]

Returns the number of active rows and columns, i.e. the rows and columns that aren’t skipped by __getitem__.