-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EDA viz - continuous variable overlays switch from gradient to discrete when heavily subsetted #1583
Comments
yikes this looks like a bug. transferring to web-eda |
@danicahelb @asizemore I have checked this and looked into corresponding web-eda part. I tried to mimic the behavior and confirmed that it happened when the number of data points are small. What happens in this case is that the backend does not return gradient data (seriesGradientColorscale) to the frontend (perhaps due to the lack of data points to compute gradient level?). So, the frontend treats such a small number of data points as a normal plot. Thus, I don't know what you want in this case without having the backend data. Perhaps current behavior is what it should be? |
This should get fixed in plot.data in the short term, and this ticket transferred there. In the longer term we probably want the client to dictate which colormaps it'd like to use? That's probably worth a separate discussion and ticket. |
Thanks @d-callan for taking care of it. |
@d-callan i've made this placeholder ticket for the convo about the client dictating which colormap to use VEuPathDB/EdaNewIssues#606 |
Data viz topic:
heavy subsetting switches the legend for a continuous variable from the gradient to the standard categorical colormap
See: GEMS1 scatterplot using BMI-for-age as overlay:
unsubsetted:

with heavy subsetting:

The text was updated successfully, but these errors were encountered: