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

Method tick_left

lib/matplotlib/axis.py:2935–2946  ·  view source on GitHub ↗

Move ticks and ticklabels (if present) to the left of the Axes.

(self)

Source from the content-addressed store, hash-verified

2933 self.set_tick_params(which='both', labelright=label)
2934
2935 def tick_left(self):
2936 """
2937 Move ticks and ticklabels (if present) to the left of the Axes.
2938 """
2939 label = True
2940 if 'label1On' in self._major_tick_kw:
2941 label = (self._major_tick_kw['label1On']
2942 or self._major_tick_kw['label2On'])
2943 self.set_ticks_position('left')
2944 # if labels were turned off before this was called
2945 # leave them off
2946 self.set_tick_params(which='both', labelleft=label)
2947
2948 def get_ticks_position(self):
2949 """

Callers 4

twinxMethod · 0.80
test_shared_and_movedFunction · 0.80
test_twin_removeFunction · 0.80
stock_prices.pyFile · 0.80

Calls 2

set_ticks_positionMethod · 0.95
set_tick_paramsMethod · 0.80

Tested by 2

test_shared_and_movedFunction · 0.64
test_twin_removeFunction · 0.64