diff --git a/dashboard7/main.py b/dashboard7/main.py index ab8093c..0160417 100644 --- a/dashboard7/main.py +++ b/dashboard7/main.py @@ -172,7 +172,7 @@ def update_graph_2(min_value): fig.update_layout(template="plotly_white") return fig - +# 7a @app.callback(Output("graph_69", "figure"), Input("graph_2", "relayoutData")) def update_graph_2(selected_data): if selected_data is None or ( @@ -198,6 +198,7 @@ def update_graph_2(selected_data): Input("slider_1", "value"), ) def update_graph_3_and_4(selected_data, sliderValue): + ## 7b # forcing update of x, y and cluster_df with the proper am X, y = make_blobs( n_samples=100 * sliderValue, centers=sliderValue, n_features=2, random_state=0