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

Function velocity_field

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

Source from the content-addressed store, hash-verified

7
8
9def velocity_field():
10 Y, X = np.mgrid[-3:3:100j, -3:3:200j]
11 U = -1 - X**2 + Y
12 V = 1 + X - Y**2
13 return X, Y, U, V
14
15
16def swirl_velocity_field():

Callers 4

test_startpointsFunction · 0.85
test_colormapFunction · 0.85
test_linewidthFunction · 0.85
test_masks_and_nansFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…