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

Method get_ticks_position

lib/matplotlib/axis.py:2718–2724  ·  view source on GitHub ↗

Return the ticks position ("top", "bottom", "default", or "unknown").

(self)

Source from the content-addressed store, hash-verified

2716 self.set_tick_params(which='both', labelbottom=label)
2717
2718 def get_ticks_position(self):
2719 """
2720 Return the ticks position ("top", "bottom", "default", or "unknown").
2721 """
2722 return {1: "bottom", 2: "top",
2723 "default": "default", "unknown": "unknown"}[
2724 self._get_ticks_position()]
2725
2726 get_view_interval, set_view_interval = _make_getset_interval(
2727 "view", "viewLim", "intervalx")

Calls 1

_get_ticks_positionMethod · 0.80