Open hechtprojects opened 6 months ago
Add the following method (+ docstring + example) to amep.plot:
amep.plot
def draw_arrow(fig, x, y, dx, dy, **kwargs): arrow = FancyArrow(x, y, dx, dy, transform=fig.transFigure, length_includes_head=True, **kwargs) fig.add_artist(arrow)
This allows to draw an arrow that points from (x, y) to (x+dx, y+dy), which is useful for annotation purposes.
Proposed new feature or change:
Add the following method (+ docstring + example) to
amep.plot
:This allows to draw an arrow that points from (x, y) to (x+dx, y+dy), which is useful for annotation purposes.