Skip to content

Conversation

@paulromano
Copy link
Contributor

This PR enhances the tally data colorbar controls by replacing the binary "Custom Min/Max" checkbox with a more flexible dropdown offering three scaling options:

  • Full data: Uses the full data range (previous default behavior)
  • Visible data: Auto-rescales to only the data currently visible in the plot view
  • Custom: Allows manual specification of min/max values (previous "Custom Min/Max" behavior)

The new "Visible data" option is particularly useful when zooming in on a region with a narrower data range than the full dataset, allowing for better contrast and visibility without manual adjustment.

Copy link
Collaborator

@pshriwise pshriwise left a comment

Choose a reason for hiding this comment

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

Tried this out and it works quite well. Thanks @paulromano! Pretty handy. I like the layout of the new spinboxes for user defined min/max as well.

@pshriwise pshriwise merged commit 274d793 into openmc-dev:develop Jan 23, 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.

2 participants