(self)
| 172 | self.set_label_mode(label_mode) |
| 173 | |
| 174 | def _init_locators(self): |
| 175 | self._divider.set_horizontal( |
| 176 | [Size.Scaled(1), self._horiz_pad_size] * (self._ncols-1) + [Size.Scaled(1)]) |
| 177 | self._divider.set_vertical( |
| 178 | [Size.Scaled(1), self._vert_pad_size] * (self._nrows-1) + [Size.Scaled(1)]) |
| 179 | for i in range(self.n_axes): |
| 180 | col, row = self._get_col_row(i) |
| 181 | self.axes_all[i].set_axes_locator( |
| 182 | self._divider.new_locator(nx=2 * col, ny=2 * (self._nrows - 1 - row))) |
| 183 | |
| 184 | def _get_col_row(self, n): |
| 185 | if self._direction == "column": |
no test coverage detected