Barak 0.3.2 documentation

barak.plot.draw_arrows

«  barak.plot.distplot   ::   Contents   ::   barak.plot.errplot  »

barak.plot.draw_arrows

barak.plot.draw_arrows(x, y, ax=None, capsize=2, ms=6, direction='up', c='k', **kwargs)[source]

Draw arrows that can be used to show limits.

Extra keyword arguments are passed to pyplot.scatter(). To draw a shorter arrow, get the arrow length desired by reducing the ms value, then increase capsize until you are happy with the result, vice versa to draw a longer arrow.

Parameters :

x, y: float or arrays of shape (N,) :

x and y positions.

direction: str {‘up’, ‘down’, ‘left’, ‘right’} :

The direction in which the arrows should point.

«  barak.plot.distplot   ::   Contents   ::   barak.plot.errplot  »