File tree 1 file changed +3
-5
lines changed
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):
87
87
variables_details [:] = variables_
88
88
89
89
90
- dummy_create_variable_bind = pn .bind (create_variable , dim )
90
+ dummy_create_variable_bind = pn .rx (create_variable )( dim )
91
91
92
92
93
93
n_samples = pn .widgets .IntInput (
@@ -146,14 +146,12 @@ def sample_to_dataframe(sample, variables_details):
146
146
return df
147
147
148
148
149
- interactive_sample_dist = pn .bind (
150
- sample_to_distributions ,
149
+ interactive_sample_dist = pn .rx (sample_to_distributions )(
151
150
sample = interactive_sample ,
152
151
variables_details = variables_details ,
153
152
)
154
153
155
- interactive_dataframe = pn .bind (
156
- sample_to_dataframe ,
154
+ interactive_dataframe = pn .rx (sample_to_dataframe )(
157
155
sample = interactive_sample_dist ,
158
156
variables_details = variables_details ,
159
157
)
You can’t perform that action at this time.
0 commit comments