The columns spanned by this subplot, as a `range` object.
(self)
| 636 | |
| 637 | @property |
| 638 | def colspan(self): |
| 639 | """The columns spanned by this subplot, as a `range` object.""" |
| 640 | ncols = self.get_gridspec().ncols |
| 641 | # We explicitly support num2 referring to a column on num1's *left*, so |
| 642 | # we must sort the column indices here so that the range makes sense. |
| 643 | c1, c2 = sorted([self.num1 % ncols, self.num2 % ncols]) |
| 644 | return range(c1, c2 + 1) |
| 645 | |
| 646 | def is_first_row(self): |
| 647 | return self.rowspan.start == 0 |
nothing calls this directly
no test coverage detected