Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
9
def
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
16
def
swirl_velocity_field():
Callers
4
test_startpoints
Function · 0.85
test_colormap
Function · 0.85
test_linewidth
Function · 0.85
test_masks_and_nans
Function · 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…