nd the arrow crossing. head_width : float, default: 10 Width of arrow head, sent to `.ArrowStyle`. head_length : float, default: 15 Length of arrow head, sent to `.ArrowStyle`. tail_width : float, default: 2 Width of arrow tail, sent to `.ArrowStyle`. text_props, arrow_props : dict Properties of the text and arrows, passed to `.TextPath` and `.FancyArrowPatch`. **kwargs Keyword arguments forwarded to `.AnchoredOffsetbox`. Attributes ---------- arrow_x, arrow_y : `~matplotlib.patches.FancyArrowPatch` Arrow x and y text_path_x, text_path_y : `~matplotlib.text.TextPath` Path for arrow labels p_x, p_y : `~matplotlib.patches.PathPatch` Patch for arrow labels box : `~matplotlib.offsetbox.AuxTransformBox` Container for the arrows and labels. Notes ----- If *prop* is passed as a keyword argument, but *fontproperties* is not, then *prop* is assumed to be the intended *fontproperties*. Using both *prop* and *fontproperties* is not supported. Examples -------- >>> import matplotlib.pyplot as plt >>> import numpy as np >>> from mpl_toolkits.axes_grid1.anchored_artists import ( ... AnchoredDirectionArrows) >>> fig, ax = plt.subplots() >>> ax.imshow(np.random.random((10, 10))) >>> arrows = AnchoredDirectionArrows(ax.transAxes, '111', '110') >>> ax.add_artist(arrows) >>> fig.show() Using several of the optional parameters, creating downward pointing arrow and high contrast text labels. >>> import matplotlib.font_manager as fm >>> fontprops = fm.FontProperties(family='monospace') >>> arrows = AnchoredDirectionArrows(ax.transAxes, 'East', 'South', ... loc='lower left', color='k', ... aspect_ratio=-1, sep_x=0.02, ... sep_y=-0.01, ... text_props={'ec':'w', 'fc':'k'}, ... fontproperties=fontprops) NÚ