@@ -55,18 +55,13 @@ def column_inputs(data, output):
5555 return inputs
5656
5757
58- @pn .cache
59- def filtered_inputs (data , input_names ):
60- return data [input_names ]
61-
62-
6358@pn .cache
6459def column_output (data ):
6560 return list (data .columns )
6661
6762
6863@pn .cache
69- def filtered_output (data , output_name ):
64+ def filtered_data (data , output_name ):
7065 return data [output_name ]
7166
7267
@@ -271,14 +266,14 @@ def csv_data(
271266selector_output = pn .widgets .Select (
272267 name = "Output" , value = interactive_output_ , options = interactive_column_output
273268)
274- interactive_output = pn .bind (filtered_output , interactive_file , selector_output )
269+ interactive_output = pn .bind (filtered_data , interactive_file , selector_output )
275270
276271interactive_column_input = pn .bind (column_inputs , interactive_file , selector_output )
277272selector_inputs_sensitivity = pn .widgets .MultiSelect (
278273 name = "Inputs" , value = interactive_column_input , options = interactive_column_input
279274)
280275interactive_inputs = pn .bind (
281- filtered_inputs , interactive_file , selector_inputs_sensitivity
276+ filtered_data , interactive_file , selector_inputs_sensitivity
282277)
283278
284279interactive_sensitivity_indices = pn .bind (
@@ -302,7 +297,7 @@ def csv_data(
302297 solid = False ,
303298)
304299interactive_inputs_decomposition = pn .bind (
305- filtered_output , interactive_file , selector_inputs_decomposition
300+ filtered_data , interactive_file , selector_inputs_decomposition
306301)
307302
308303interactive_filtered_si = pn .bind (
0 commit comments