@@ -476,8 +476,8 @@ def __init__(self, transform, label_x, label_y, length=0.15,
476476 Defaults to 2.
477477
478478 text_props, arrow_props : dict
479- Properties of the text and arrows, passed to :class:
480- `matplotlib.text.TextPath` and
479+ Properties of the text and arrows, passed to
480+ :class: `matplotlib.text.TextPath` and
481481 `matplotlib.patches.FancyArrowPatch`
482482
483483 **kwargs :
@@ -509,11 +509,10 @@ def __init__(self, transform, label_x, label_y, length=0.15,
509509 >>> import matplotlib.pyplot as plt
510510 >>> import numpy as np
511511 >>> from mpl_toolkits.axes_grid1.anchored_artists import \
512- AnchoredDirectionArrows
512+ ... AnchoredDirectionArrows
513513 >>> fig, ax = plt.subplots()
514514 >>> ax.imshow(np.random.random((10,10)))
515- >>> arrows = AnchoredDirectionArrows(ax.transAxes, '111', \
516- r'11$\overline{2}$')
515+ >>> arrows = AnchoredDirectionArrows(ax.transAxes, '111', '110')
517516 >>> ax.add_artist(arrows)
518517 >>> fig.show()
519518
@@ -522,9 +521,10 @@ def __init__(self, transform, label_x, label_y, length=0.15,
522521
523522 >>> import matplotlib.font_manager as fm
524523 >>> fontprops = fm.FontProperties(family='monospace')
525- >>> arrows = AnchoredDirectionArrows(ax.transAxes,'East','South', \
526- loc='lower left', color='k', aspect_ratio=-1, sep_x=0.02,sep_y=-0.01, \
527- text_props={'ec':'w','fc':'k'}, fontproperties=fontprops)
524+ >>> arrows = AnchoredDirectionArrows(ax.transAxes, 'East', 'South',
525+ ... loc='lower left', color='k', aspect_ratio=-1, sep_x=0.02,
526+ ... sep_y=-0.01, text_props={'ec':'w', 'fc':'k'},
527+ ... fontproperties=fontprops)
528528 """
529529 if arrow_props is None :
530530 arrow_props = {}
0 commit comments