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

Method set_ydata

lib/matplotlib/lines.py:1320–1337  ·  view source on GitHub ↗

Set the data array for y. Parameters ---------- y : 1D array See Also -------- set_data set_xdata

(self, y)

Source from the content-addressed store, hash-verified

1318 self.stale = True
1319
1320 def set_ydata(self, y):
1321 """
1322 Set the data array for y.
1323
1324 Parameters
1325 ----------
1326 y : 1D array
1327
1328 See Also
1329 --------
1330 set_data
1331 set_xdata
1332 """
1333 if not np.iterable(y):
1334 raise RuntimeError('y must be a sequence')
1335 self._yorig = copy.copy(y)
1336 self._invalidy = True
1337 self.stale = True
1338
1339 def set_dashes(self, seq):
1340 """

Callers 15

set_dataMethod · 0.95
test_invalid_line_dataFunction · 0.95
update_positionMethod · 0.80
set_valMethod · 0.80
_update_val_from_posMethod · 0.80
set_valMethod · 0.80
onmoveMethod · 0.80
onmoveMethod · 0.80
blitting.pyFile · 0.80
updateFunction · 0.80
updateMethod · 0.80

Calls 1

copyMethod · 0.45

Tested by 2

test_invalid_line_dataFunction · 0.76