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

Function test_barbs_pivot

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

Source from the content-addressed store, hash-verified

192@image_comparison(['barbs_pivot_test_image.png'], remove_text=True,
193 style='_classic_test')
194def test_barbs_pivot():
195 x = np.linspace(-5, 5, 5)
196 X, Y = np.meshgrid(x, x)
197 U, V = 12*X, 12*Y
198 fig, ax = plt.subplots()
199 ax.barbs(X, Y, U, V, fill_empty=True, rounding=False, pivot=1.7,
200 sizes=dict(emptybarb=0.25, spacing=0.2, height=0.3))
201 ax.scatter(X, Y, s=49, c='black')
202
203
204@image_comparison(['barbs_test_flip.png'], remove_text=True, style='_classic_test')

Callers

nothing calls this directly

Calls 3

barbsMethod · 0.80
subplotsMethod · 0.45
scatterMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…