MCPcopy Create free account
hub / github.com/alpha2phi/python-apps / update_graph_2

Function update_graph_2

sagemaker-dash/tutorials/app17.py:116–127  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

114
115@app.callback(Output('graph-2', 'figure'), Input('signal', 'data'))
116def update_graph_2(value):
117 return generate_figure(
118 value, {
119 'data': [{
120 'type': 'scatter',
121 'mode': 'lines',
122 'line': {
123 'shape': 'spline',
124 'width': 0.5
125 },
126 }]
127 })
128
129
130@app.callback(Output('graph-3', 'figure'), Input('signal', 'data'))

Callers

nothing calls this directly

Calls 1

generate_figureFunction · 0.85

Tested by

no test coverage detected