diff --git a/usage.py b/usage.py index b47fe326..da97cf51 100644 --- a/usage.py +++ b/usage.py @@ -60,7 +60,6 @@ wcc.WebvizPluginPlaceholder( id="some-other-plugin", children=[ - wcc.ColorScales(id="colorscale"), wcc.Graph( id="example-graph", figure={ @@ -252,17 +251,6 @@ ] ) - -@app.callback( - Output("example-graph", "figure"), - [Input("colorscale", "colorscale")], - [State("example-graph", "figure")], -) -def update_colors(colorscale, figure): - figure["layout"]["colorway"] = colorscale - return figure - - @app.callback( Output("output", "children"), [