MCPcopy Create free account
hub / github.com/matplotlib/matplotlib / set_tick_out

Method set_tick_out

lib/mpl_toolkits/axisartist/axis_artist.py:162–169  ·  view source on GitHub ↗

Set whether ticks are drawn inside or outside the axes. .. admonition:: Discouraged Consider using the more general method `.set_tick_direction` instead.

(self, b)

Source from the content-addressed store, hash-verified

160 return self._tick_dir
161
162 def set_tick_out(self, b):
163 """
164 Set whether ticks are drawn inside or outside the axes.
165
166 .. admonition:: Discouraged
167 Consider using the more general method `.set_tick_direction` instead.
168 """
169 self._tick_dir = "out" if b else "in"
170
171 @_api.deprecated("3.11", alternative="get_tick_direction")
172 def get_tick_out(self):

Callers 4

__init__Method · 0.95
test_SubplotFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_SubplotFunction · 0.64