MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _apply_tickdir

Method _apply_tickdir

lib/matplotlib/axis.py:484–493  ·  view source on GitHub ↗
(self, tickdir)

Source from the content-addressed store, hash-verified

482 return self.axes.get_yaxis_text2_transform(self._pad)
483
484 def _apply_tickdir(self, tickdir):
485 # docstring inherited
486 super()._apply_tickdir(tickdir)
487 mark1, mark2 = {
488 'out': (mlines.TICKLEFT, mlines.TICKRIGHT),
489 'in': (mlines.TICKRIGHT, mlines.TICKLEFT),
490 'inout': ('_', '_'),
491 }[self._tickdir]
492 self.tick1line.set_marker(mark1)
493 self.tick2line.set_marker(mark2)
494
495 def update_position(self, loc):
496 """Set the location of tick in data coords with scalar *loc*."""

Callers

nothing calls this directly

Calls 2

set_markerMethod · 0.80
_apply_tickdirMethod · 0.45

Tested by

no test coverage detected