(self)
| 502 | __str__ = mtransforms._make_str_method("axes", "pad", "mode") |
| 503 | |
| 504 | def get_matrix(self): |
| 505 | if self._invalid: |
| 506 | if self.mode == 'rlabel': |
| 507 | angle = ( |
| 508 | np.deg2rad(self.axes.get_rlabel_position() |
| 509 | * self.axes.get_theta_direction()) |
| 510 | + self.axes.get_theta_offset() |
| 511 | - np.pi / 2 |
| 512 | ) |
| 513 | elif self.mode == 'min': |
| 514 | angle = self.axes._realViewLim.xmin - np.pi / 2 |
| 515 | elif self.mode == 'max': |
| 516 | angle = self.axes._realViewLim.xmax + np.pi / 2 |
| 517 | self._t = (self.pad * np.cos(angle) / 72, self.pad * np.sin(angle) / 72) |
| 518 | return super().get_matrix() |
| 519 | |
| 520 | |
| 521 | class RadialTick(maxis.YTick): |
nothing calls this directly
no test coverage detected