Set tick direction. Valid values are 'out', 'in', 'inout'.
(self, tickdir)
| 223 | return self._base_pad + self.get_tick_padding() |
| 224 | |
| 225 | def _apply_tickdir(self, tickdir): |
| 226 | """Set tick direction. Valid values are 'out', 'in', 'inout'.""" |
| 227 | # This method is responsible for verifying input and, in subclasses, for setting |
| 228 | # the tick{1,2}line markers. From the user perspective this should always be |
| 229 | # called through _apply_params, which further updates ticklabel positions using |
| 230 | # the new pads. |
| 231 | tickdir = mpl._val_or_rc(tickdir, f'{self.__name__}.direction') |
| 232 | _api.check_in_list(['in', 'out', 'inout'], tickdir=tickdir) |
| 233 | self._tickdir = tickdir |
| 234 | |
| 235 | def get_tickdir(self): |
| 236 | return self._tickdir |
no outgoing calls
no test coverage detected