egttools.plotting.helpers.add_arrow

add_arrow(line, position=None, direction='right', size=15, color=None, arrowstyle='-|>', zorder=0)[source]

add an arrow to a line.

line: Line2D object position: x-position of the arrow. If None, mean of xdata is taken direction: ‘left’ or ‘right’ size: size of the arrow in fontsize points color: if None, line color is taken.