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

Method remove

vispy/visuals/shaders/function.py:694–699  ·  view source on GitHub ↗

Remove a function from the chain.

(self, function, update=True)

Source from the content-addressed store, hash-verified

692 self._update()
693
694 def remove(self, function, update=True):
695 """Remove a function from the chain."""
696 self._funcs.remove(function)
697 self._remove_dep(function)
698 if update:
699 self._update()
700
701 def definition(self, obj_names, version, shader):
702 name = obj_names[self]

Callers 15

functionsMethod · 0.95
test_FunctionChainFunction · 0.95
_remove_childMethod · 0.45
remove_widgetMethod · 0.45
_edges_in_tri_exceptMethod · 0.45
handle_eventMethod · 0.45
_on_eventMethod · 0.45
_check_importsFunction · 0.45
_on_mouse_buttonMethod · 0.45
on_mouse_releaseMethod · 0.45
del_toplevelMethod · 0.45
detachMethod · 0.45

Calls 2

_updateMethod · 0.95
_remove_depMethod · 0.80

Tested by 2

test_FunctionChainFunction · 0.76
test_StatementListFunction · 0.36