File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ def create_variable(dim):
8787 variables_details [:] = variables_
8888
8989
90- dummy_create_variable_bind = pn .bind (create_variable , dim )
90+ dummy_create_variable_bind = pn .rx (create_variable )( dim )
9191
9292
9393n_samples = pn .widgets .IntInput (
@@ -146,14 +146,12 @@ def sample_to_dataframe(sample, variables_details):
146146 return df
147147
148148
149- interactive_sample_dist = pn .bind (
150- sample_to_distributions ,
149+ interactive_sample_dist = pn .rx (sample_to_distributions )(
151150 sample = interactive_sample ,
152151 variables_details = variables_details ,
153152)
154153
155- interactive_dataframe = pn .bind (
156- sample_to_dataframe ,
154+ interactive_dataframe = pn .rx (sample_to_dataframe )(
157155 sample = interactive_sample_dist ,
158156 variables_details = variables_details ,
159157)
You can’t perform that action at this time.
0 commit comments