-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(vis-type: scatter): improve rendering of scatter plot #530
Conversation
- fix small calculation error (no rounding)
@dvmoritzschoefl as discussed in call: |
…into mh/scatterplot_new
Could we maybe expose a prop in the scattervis config to change the type of splom. Something like this:
|
I would not make it more complicated than needed for now. I think if we cannot have histograms, then the lower triangle mode is the best bet (and also the best performing one). I would add it if someone needs this at some point. |
The number of columns and rows is now calculated by the following rule:
as for the plot not updating and the dragmode having no effect. i think this is an ordino problem (as discussed in call). i tried it in the storybook and when using the config in an external state and updating there it works as expected |
One more small remark is regarding the legend and coloring of unknown categorical values The categories are not 'sorted' (previously, the 'Unknown' category always came last), and the vis_neutral_color is not used, as recommended: /**
* Neutral color (e.g., histogram in scatterplot matrix and should be also used for "Unknown" categorical values)
*/
export const VIS_NEUTRAL_COLOR = '#71787E';
|
Something seems wrong with the stats calculations. Adding 4 numeric columns (all gene expression) to the config results in the last row of the lower triangle having NaN values for pValue, r² .... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the performance improvements and addressing all the various feedback. We have tested it in multiple apps and it is ready to merge.
@dvmoritzschoefl I saw that the Playwright tests are failing for this branch. in comparison the develop branch succeeded with the latest merge. Please check the tests and fix them. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the failing Playwright tests by adding and using the correct selectors for the legend.
The download Playwright tests are currently timing-out but all other tests are working as expected. |
Closes #522 ,https://github.com/datavisyn/reprovisyn/issues/1870, https://github.com/datavisyn/communication_bi_ordino/issues/76, https://github.com/datavisyn/communication_bi_ordino/issues/77,
https://github.com/datavisyn/reprovisyn/issues/2028,
https://github.com/datavisyn/communication_bi_ordino/issues/79
Developer Checklist (Definition of Done)
Issue
UI/UX/Vis
Code
PR
release: minor
) to this PR following semverCloses #...
)Summary of changes
Screenshots
Additional notes for the reviewer(s)
Thanks for creating this pull request 🤗