From 74af4c4018282bc6721ce5cec1f31cc69d79e6d8 Mon Sep 17 00:00:00 2001 From: marcgauch <34353267+marcgauch@users.noreply.github.com> Date: Sat, 3 Jun 2023 13:36:23 +0200 Subject: [PATCH] Update main.py --- dashboard7/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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