Create and return a `.SubplotSpec` instance. Parameters ---------- loc : (int, int) The position of the subplot in the grid as ``(row_index, column_index)``. rowspan, colspan : int, default: 1 The number of rows and column
(self, loc, rowspan=1, colspan=1)
| 83 | pass |
| 84 | |
| 85 | def new_subplotspec(self, loc, rowspan=1, colspan=1): |
| 86 | """ |
| 87 | Create and return a `.SubplotSpec` instance. |
| 88 | |
| 89 | Parameters |
| 90 | ---------- |
| 91 | loc : (int, int) |
| 92 | The position of the subplot in the grid as |
| 93 | ``(row_index, column_index)``. |
| 94 | rowspan, colspan : int, default: 1 |
| 95 | The number of rows and columns the subplot should span in the grid. |
| 96 | """ |
| 97 | loc1, loc2 = loc |
| 98 | subplotspec = self[loc1:loc1+rowspan, loc2:loc2+colspan] |
| 99 | return subplotspec |
| 100 | |
| 101 | def set_width_ratios(self, width_ratios): |
| 102 | """ |