rewrite scatterplotmatrix so it uses patchwork#986
Conversation
Unit Tests Summary 1 files 37 suites 4m 20s ⏱️ Results for commit 45c1f58. ♻️ This comment has been updated with latest results. |
Unit Test Performance DifferenceTest suite performance difference
Additional test case details
Results for commit ad2bb09 ♻️ This comment has been updated with latest results. |
gogonzo
left a comment
There was a problem hiding this comment.
This branch needs a proper code reducing.
There was a problem hiding this comment.
Plots generated with lots of duplicate code. I think there are several ways to simplify them:
- Reuse a base plot and then update it for each specific purpose.
- Apply the theme and general characteristics after the plots are wrapped by patchwork ( use the right operator to apply to all plots).
Sorry I didn't assign myself and we have duplicated efforts but I agree with the previous review
I ran the example and text is too small to read:
Code Coverage SummaryDiff against mainResults for commit: 45c1f58 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
|
Hey @gogonzo and @llrs-roche - thanks for the review. I mainly aimed to get a quick prototype of the output, so we could compare different approaches. Will work on improving the PR and making it more polished and production-ready. |
|
Hey @gogonzo last touches on the labels. I think we should just show the labels at the outside of the matrix for the categorical variables (no labels where red lines, labels only where the blue line is). This saves a lot of space. Also the labels for the categorical variables are trimmed, so they don't take the whole space of the plot
I would appreciate your opinion in general on the PR. I think it's ready in it's current state. The code being long in show r code could be tackled as a separate extension to teal via styler pacakge. |
Signed-off-by: Marcin <133694481+m7pr@users.noreply.github.com>
gogonzo
left a comment
There was a problem hiding this comment.
❌ Please remove debounce - details in one of the comments.
@donyunardi @m7pr I like the visuals, I think previous version was almost useless.
Signed-off-by: Marcin <133694481+m7pr@users.noreply.github.com>
gogonzo
left a comment
There was a problem hiding this comment.
👍 I hope it doesn't destroy too much in picks PR
|
Hey @donyunardi @gogonzo about this |
I think parameterize makes sense to me. We can explain in the documentation why we recommend 5 and it's up to app developer to decide what would be the best for the user based on the data for this module. Another option is do a soft warning in the UI instead of hard stop when someone choose more than 5. I like the first option better. |
|
Alrighty, so I'll add a new parameter, and will merge |



Part of
Satisfies last comment from 2025
Alternative to
This PR rewrite
scatterplotmatrixso it usespatchworkCoe do generate plots