Is it possible to link a JupyterChart selection as a filter in a Chart? #3246
-
Here is some code to give an idea of the problem that I am facing:
Error message for yield_box_plot and yield_dist_plot
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @dhruv-acog, The problem is that Instead of: display(scatter_plot)
display(yield_box_plot)
display(yield_dist_plot) try: display(alt.vconcat(scatter_plot, yield_box_plot, yield_dist_plot)) |
Beta Was this translation helpful? Give feedback.
-
Hi @jonmmease Seems like I can only concatenate Chart objects using vconcat. Got this error while trying your solution: Also, checked data types of all plots:
Output:
|
Beta Was this translation helpful? Give feedback.
-
The dataframe is printing now but faced another issue: The dataframe only gets updated according to the first selections. So, basically, when I reset the plot (by double-clicking on it) after the first selection, the next selections no longer update the dataframe. |
Beta Was this translation helpful? Give feedback.
Oh, right. You'll need to concatenate the
alt.Chart
objects before wrapping the result of the concatenation in aJupyterChart
.