SubplotsContainer.shape

property SubplotsContainer.shape

The “shape” of the 2d subplot grid assumed when performing 2d indexing. For complex subplot grids, where subplots may span contiguous rows and columns, this “shape” may be incorrect. In such cases, 1d indexing should always be used.