This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This script draws arrows pointing in four directions from a text box using matplotlib. | |
""" | |
import matplotlib.pyplot as plt | |
from matplotlib.patches import FancyArrow | |
from matplotlib.text import Text | |
def draw_arrow(ax, x, y, txt, direction, length, width): | |
""" |