Skip to content

Use native colorbars for numeric splom colors - #2504

Open
M-Colley wants to merge 1 commit into
plotly:masterfrom
M-Colley:fix/splom-numeric-colors
Open

M-Colley wants to merge 1 commit into
plotly:masterfrom
M-Colley:fix/splom-numeric-colors

Conversation

@M-Colley

Copy link
Copy Markdown

Fixes #2500.

Summary

  • Show the numeric colorbar on a scatterplot matrix marker so Plotly does not create a Cartesian trace that distorts the matrix.
  • Keep the shared color range and preserve legend visibility and colorbar controls.

Validation

  • Reproduced the reported iris matrix in R and rendered it with the bundled Plotly.js in headless Chrome. The fixed plot aligns all 25 cells and displays one colorbar while preserving all 150 mapped colors.
  • Passed all 20 assertions in the scatterplot matrix regression tests. Verified the existing scatter and mixed-trace builds against upstream master.
  • Ran R CMD check --no-manual on Windows with R 4.6.1. The check returned Status: OK.

I used Codex to assist with implementing and validating this change.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

splom does not work with numeric color

1 participant