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

Fix meaning of "masking" for plots #2510

Merged
merged 4 commits into from May 3, 2023

Conversation

paulromano
Copy link
Contributor

As discussed in #2503, it seems like most people agree that masking cells/materials in a plot is doing the opposite of what one would expect. This PR reverses the behavior. Now, when you ask a Plot to mask a cell/material, it is not shown in the resulting plot.

@paulromano paulromano requested a review from gridley May 2, 2023 12:13
@paulromano paulromano requested a review from pshriwise as a code owner May 2, 2023 12:13
Copy link
Contributor

@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.

Thanks @paulromano! I think this is more clear.

@pshriwise pshriwise added the Merging Soon PR will be merged in < 24 hrs if no further comments are made. label May 2, 2023
@pshriwise pshriwise merged commit 4500658 into openmc-dev:develop May 3, 2023
17 checks passed
@paulromano paulromano deleted the plot-mask-fix branch May 3, 2023 14:56
pshriwise pushed a commit to pshriwise/openmc that referenced this pull request May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merging Soon PR will be merged in < 24 hrs if no further comments are made.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants