(self, i: int)
| 1045 | |
| 1046 | @final |
| 1047 | def _get_ax(self, i: int) -> Axes: |
| 1048 | # get the twinx ax if appropriate |
| 1049 | if self.subplots: |
| 1050 | i = self._col_idx_to_axis_idx(i) |
| 1051 | ax = self.axes[i] |
| 1052 | ax = self._maybe_right_yaxis(ax, i) |
| 1053 | # error: Unsupported target for indexed assignment ("Sequence[Any]") |
| 1054 | self.axes[i] = ax # type: ignore[index] |
| 1055 | else: |
| 1056 | ax = self.axes[0] |
| 1057 | ax = self._maybe_right_yaxis(ax, i) |
| 1058 | |
| 1059 | ax.get_yaxis().set_visible(True) |
| 1060 | return ax |
| 1061 | |
| 1062 | @final |
| 1063 | def on_right(self, i: int) -> bool: |
no test coverage detected