Skip to content
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

Remove use of wcc.ColorScales #1306

Merged
merged 11 commits into from
Dec 3, 2024

Conversation

HansKallekleiv
Copy link
Collaborator

Remove use of wcc.ColorScales as it is not compatible with React 18

Changes:

  • Not longer possible to interactively change color scales in VolumetricsAnalysis, SegyViewer and Map with intersection (grid/seismic)
  • Added new optional config variable to specify list of hex colors to VolumetricsAnalysis. The other modules already has this.

Copy link
Collaborator

@rubenthoms rubenthoms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code-wise this looks good 👍 I haven't tested functionality yet, but I guess you did.

grid.ComputeCellStructuredCoords(cell_id, i_ref, j_ref, k_ref, True) # type: ignore[arg-type]
grid.ComputeCellStructuredCoords(
cell_id, i_ref, j_ref, k_ref, True
) # type:ignore[arg-type]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignore comment moved out of line causing mypy to react.

@HansKallekleiv HansKallekleiv merged commit 2af9699 into equinor:master Dec 3, 2024
6 checks passed
@HansKallekleiv HansKallekleiv deleted the remove-color-picker branch December 3, 2024 13:45
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.

2 participants