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

Function test_direction

lib/matplotlib/tests/test_streamplot.py:96–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94@image_comparison(['streamplot_direction.png'],
95 remove_text=True, style='mpl20', tol=0.073)
96def test_direction():
97 x, y, U, V = swirl_velocity_field()
98 plt.streamplot(x, y, U, V, integration_direction='backward',
99 maxlength=1.5, start_points=[[1.5, 0.]],
100 linewidth=2, density=2)
101
102
103@image_comparison(['streamplot_integration.png'], style='mpl20', tol=0.05)

Callers

nothing calls this directly

Calls 1

swirl_velocity_fieldFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…