Skip to content

Commit

Permalink
Fixed: Fixed a bug that was caused by not defining a key for multisel…
Browse files Browse the repository at this point in the history
…ect widget.
  • Loading branch information
AAnzel committed May 17, 2022
1 parent 75d869e commit 7daceea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1867,11 +1867,12 @@ def visualize_data_set(df, temporal_feature, feature_list, key_suffix):
elif i == 'Feature through time' and temporal_feature is not None:
selected_features = st.multiselect(
i + ': select features to visualize', options=feature_list,
default=default_visualization_parameters)
default=default_visualization_parameters,
key=i + '_multi_select_' + key_suffix)

encode_feature_color = st.checkbox(
'Encode one nominal feature with color?',
key=i + '_color checkbox_' + key_suffix)
key=i + '_color_checkbox_' + key_suffix)

if encode_feature_color:
color_feature_list = [feature for feature in feature_list
Expand Down

0 comments on commit 7daceea

Please sign in to comment.