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

Function _tick_update_position

lib/mpl_toolkits/mplot3d/axis3d.py:25–35  ·  view source on GitHub ↗

Update tick line and label position and style.

(tick, tickxs, tickys, labelpos)

Source from the content-addressed store, hash-verified

23
24
25def _tick_update_position(tick, tickxs, tickys, labelpos):
26 """Update tick line and label position and style."""
27
28 tick.label1.set_position(labelpos)
29 tick.label2.set_position(labelpos)
30 tick.tick1line.set_visible(True)
31 tick.tick2line.set_visible(False)
32 tick.tick1line.set_linestyle('-')
33 tick.tick1line.set_marker('')
34 tick.tick1line.set_data(tickxs, tickys)
35 tick.gridline.set_data([0], [0])
36
37
38class Axis(maxis.XAxis):

Callers 1

_draw_ticksMethod · 0.85

Calls 5

set_markerMethod · 0.80
set_positionMethod · 0.45
set_visibleMethod · 0.45
set_linestyleMethod · 0.45
set_dataMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…