You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2022. It is now read-only.
So I have a scatter plot on the left and a dataframe on the right. When I select a number of points in the scatter plot using the lasso tool, I want the dataframe on the right to update. This is working fine.
However, when something was selected, all the not selected points should have a high alpha value, and should retain their high alpha value. This is not working. Apparently, the scatter plot is redrawn and even though the table shows the correct selection, all points in the plot have the same alpha value. I have also a screen capture of this behavior.
Also, the zoom level and the whole plot resets (Not shown in the gif).
Is there something I can do about that?
Thank you, Flo
The text was updated successfully, but these errors were encountered:
The issue is that graph requires a re-render on componentDidUpdate to show changes in case you want to update the data source. But as a side-effect it also resets the plot state. An easy way to work around this is to use Session state to hold graph state.
Hi,
This is my code:
So I have a scatter plot on the left and a dataframe on the right. When I select a number of points in the scatter plot using the lasso tool, I want the dataframe on the right to update. This is working fine.
However, when something was selected, all the not selected points should have a high alpha value, and should retain their high alpha value. This is not working. Apparently, the scatter plot is redrawn and even though the table shows the correct selection, all points in the plot have the same alpha value. I have also a screen capture of this behavior.
Also, the zoom level and the whole plot resets (Not shown in the gif).
Is there something I can do about that?
Thank you, Flo
The text was updated successfully, but these errors were encountered: