When adding lots of arrowheads, they can cause a large number or 'redraw' commands (due to the axes changing, which calls the callback, which changes the axes, etc).
A possible fix is to set xlimmode and ylimmode to manual while doing the redraw, then restore after drawing.
When adding lots of arrowheads, they can cause a large number or 'redraw' commands (due to the axes changing, which calls the callback, which changes the axes, etc).
A possible fix is to set xlimmode and ylimmode to manual while doing the redraw, then restore after drawing.