MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / tick_bottom

Method tick_bottom

site-packages/matplotlib/axis.py:2049–2060  ·  view source on GitHub ↗

Move ticks and ticklabels (if present) to the bottom of the axes.

(self)

Source from the content-addressed store, hash-verified

2047 self.set_tick_params(which='both', labeltop=label)
2048
2049 def tick_bottom(self):
2050 """
2051 Move ticks and ticklabels (if present) to the bottom of the axes.
2052 """
2053 label = True
2054 if 'label1On' in self._major_tick_kw:
2055 label = (self._major_tick_kw['label1On']
2056 or self._major_tick_kw['label2On'])
2057 self.set_ticks_position('bottom')
2058 # if labels were turned off before this was called
2059 # leave them off
2060 self.set_tick_params(which='both', labelbottom=label)
2061
2062 def get_ticks_position(self):
2063 """

Callers 2

twinyMethod · 0.80
test_shared_and_movedFunction · 0.80

Calls 2

set_ticks_positionMethod · 0.95
set_tick_paramsMethod · 0.80

Tested by 1

test_shared_and_movedFunction · 0.64