MCPcopy Create free account
hub / github.com/vispy/vispy / append

Method append

vispy/visuals/shaders/function.py:670–675  ·  view source on GitHub ↗

Append a new function to the end of this chain.

(self, function, update=True)

Source from the content-addressed store, hash-verified

668 return {}
669
670 def append(self, function, update=True):
671 """Append a new function to the end of this chain."""
672 self._funcs.append(function)
673 self._add_dep(function)
674 if update:
675 self._update()
676
677 def __setitem__(self, index, func):
678 self._remove_dep(self._funcs[index])

Callers 15

functionsMethod · 0.95
test_FunctionChainFunction · 0.95
setup.pyFile · 0.45
_add_childMethod · 0.45
parent_chainMethod · 0.45
node_path_to_childMethod · 0.45
_is_childMethod · 0.45
draw_visualMethod · 0.45
_generate_draw_orderMethod · 0.45
push_viewportMethod · 0.45
push_fboMethod · 0.45
test_perspective_renderFunction · 0.45

Calls 2

_updateMethod · 0.95
_add_depMethod · 0.80

Tested by 15

test_FunctionChainFunction · 0.76
test_perspective_renderFunction · 0.36
callbackMethod · 0.36
test_orthogonalFunction · 0.36
test_rfb_canvasFunction · 0.36
closerFunction · 0.36
on_initializeMethod · 0.36
on_drawMethod · 0.36
on_closeMethod · 0.36
test_context_propertiesFunction · 0.36
_dep_changedMethod · 0.36
requires_applicationFunction · 0.36