MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_quiver_with_key

Function test_quiver_with_key

lib/matplotlib/tests/test_quiver.py:114–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112
113@image_comparison(['quiver_with_key_test_image.png'], style='mpl20')
114def test_quiver_with_key():
115 fig, ax = plt.subplots()
116 ax.margins(0.1)
117 Q = draw_quiver(ax)
118 ax.quiverkey(Q, 0.5, 0.95, 2,
119 r'$2\, \mathrm{m}\, \mathrm{s}^{-1}$',
120 angle=-10,
121 coordinates='figure',
122 labelpos='W',
123 fontproperties={'weight': 'bold', 'size': 'large'})
124
125
126@image_comparison(['quiver_single_test_image.png'], remove_text=True,

Callers

nothing calls this directly

Calls 4

draw_quiverFunction · 0.85
quiverkeyMethod · 0.80
subplotsMethod · 0.45
marginsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…