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

Method get_ticks_position

lib/matplotlib/axis.py:2948–2954  ·  view source on GitHub ↗

Return the ticks position ("left", "right", "default", or "unknown").

(self)

Source from the content-addressed store, hash-verified

2946 self.set_tick_params(which='both', labelleft=label)
2947
2948 def get_ticks_position(self):
2949 """
2950 Return the ticks position ("left", "right", "default", or "unknown").
2951 """
2952 return {1: "left", 2: "right",
2953 "default": "default", "unknown": "unknown"}[
2954 self._get_ticks_position()]
2955
2956 get_view_interval, set_view_interval = _make_getset_interval(
2957 "view", "viewLim", "intervaly")

Callers

nothing calls this directly

Calls 1

_get_ticks_positionMethod · 0.80

Tested by

no test coverage detected