Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/plotly/dash
/ on_clear
Function
on_clear
tests/integration/test_patch.py:184–188 ·
view source on GitHub ↗
(_)
Source
from the content-addressed store, hash-verified
182
prevent_initial_call=True,
183
)
184
def
on_clear(_):
185
p = Patch()
186
p.array.clear()
187
188
return
p
189
190
@app.callback(
191
Output(
"store"
,
"data"
, allow_duplicate=True),
Callers
nothing calls this directly
Calls
3
Patch
Class · 0.90
set_props
Function · 0.90
clear
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…