GridSpec.__getitem__¶
- GridSpec.__getitem__(key)[source]¶
Get a
SubplotSpec
. Slots allocated for axes panels, colorbars, and legends are ignored. For example, given a gridspec with 3 subplot rows, 3 subplot columns, 6 panel rows, and 6 panel columns, callinggs[1, 1]
returns aSubplotSpec
corresponding to the second subplot row and column rather than a panel row or column.