Update tick line and label position and style.
(tick, tickxs, tickys, labelpos)
| 23 | |
| 24 | |
| 25 | def _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 | |
| 38 | class Axis(maxis.XAxis): |
no test coverage detected
searching dependent graphs…