Skip to content

fix: set default discrete colors per magnitude to 4#89

Merged
jourdain merged 1 commit intoKitware:masterfrom
patrickoleary:fix/default-colors-per-magnitude
May 4, 2026
Merged

fix: set default discrete colors per magnitude to 4#89
jourdain merged 1 commit intoKitware:masterfrom
patrickoleary:fix/default-colors-per-magnitude

Conversation

@patrickoleary
Copy link
Copy Markdown
Member

@patrickoleary patrickoleary commented May 4, 2026

Set default discrete colors per magnitude to 4

  • Changes the default n_discrete_colors from 1 to 4 for discrete colormap mode.
  • Applies to all scale types (linear, log, and symlog).
  • Updated in both view_manager.py and view_manager2.py (dataclass default and method parameter).

closes #88

@jourdain jourdain merged commit 2bad3ca into Kitware:master May 4, 2026
1 check passed
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.

Discrete colormap: default number of colors

3 participants