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

Function update_lines

galleries/examples/animation/random_walk.py:26–29  ·  view source on GitHub ↗
(num, walks, lines)

Source from the content-addressed store, hash-verified

24
25
26def update_lines(num, walks, lines):
27 for line, walk in zip(lines, walks):
28 line.set_data_3d(walk[:num, :].T)
29 return lines
30
31
32# Data: 40 random walks as (num_steps, 3) arrays

Callers

nothing calls this directly

Calls 1

set_data_3dMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…