Skip to content

feat: discrete colormaps for linear, log, and symlog scales#60

Merged
jourdain merged 1 commit into
masterfrom
feature/discrete-colors-per-decade
Apr 27, 2026
Merged

feat: discrete colormaps for linear, log, and symlog scales#60
jourdain merged 1 commit into
masterfrom
feature/discrete-colors-per-decade

Conversation

@patrickoleary
Copy link
Copy Markdown
Member

  • Add discrete colormap mode with configurable colors per decade/interval
  • Implement _apply_discrete_linear_to_lut, _apply_discrete_log_to_lut, _apply_discrete_symlog_to_lut
  • Align tick marks with discrete color boundaries for all scales
  • Use evenly spaced percentage ticks for linear (continuous and discrete)
  • Thin symlog tick labels when range includes negatives: show 0, every other decade outward
  • Filter symlog boundaries to data range [x_min, x_max]
  • Add discrete toggle button visible for all scale types
  • Sync all changes to view_manager2.py

- Add discrete colormap mode with configurable colors per decade/interval
- Implement _apply_discrete_linear_to_lut, _apply_discrete_log_to_lut, _apply_discrete_symlog_to_lut
- Align tick marks with discrete color boundaries for all scales
- Use evenly spaced percentage ticks for linear (continuous and discrete)
- Thin symlog tick labels when range includes negatives: show 0, every other decade outward
- Filter symlog boundaries to data range [x_min, x_max]
- Add discrete toggle button visible for all scale types
- Sync all changes to view_manager2.py
@jourdain jourdain merged commit d8f41d8 into master Apr 27, 2026
1 check passed
@jourdain jourdain deleted the feature/discrete-colors-per-decade branch April 27, 2026 19:15
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.

3 participants