For each coordinate where *axmask* is True, move *coord* away from *centers* by *deltas*.
(coord, centers, deltas, axmask=(True, True, True))
| 14 | |
| 15 | |
| 16 | def _move_from_center(coord, centers, deltas, axmask=(True, True, True)): |
| 17 | """ |
| 18 | For each coordinate where *axmask* is True, move *coord* away from |
| 19 | *centers* by *deltas*. |
| 20 | """ |
| 21 | coord = np.asarray(coord) |
| 22 | return coord + axmask * np.copysign(1, coord - centers) * deltas |
| 23 | |
| 24 | |
| 25 | def _tick_update_position(tick, tickxs, tickys, labelpos): |
no outgoing calls
no test coverage detected
searching dependent graphs…