-
Notifications
You must be signed in to change notification settings - Fork 18
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
Overlaps #25
Overlaps #25
Conversation
…tting mouse-over appropriately for overlap regions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I try to use this, I get the following traceback:
Traceback (most recent call last):
File "/home/romano/openmc-plotter/openmc-plotter", line 938, in <module>
mainWindow.loadGui()
File "/home/romano/openmc-plotter/openmc-plotter", line 92, in loadGui
self.colorDialog.updateDialogValues()
File "/home/romano/openmc-plotter/plotgui.py", line 1015, in updateDialogValues
self.updateOverlapColor()
File "/home/romano/openmc-plotter/plotgui.py", line 1075, in updateOverlapColor
color = self.model.activeView.overlap_color
AttributeError: 'PlotView' object has no attribute 'overlap_color'
I made sure to use the latest develop
branch of OpenMC, so that shouldn't be the issue.
It's likely this is because there is an out of date |
Ah, ok, that makes sense. Now it works! |
This adds plotting along with a customizable color in the same way that the background color is customized. Overlap plotting can be turned on/off with the
Ctrl+P
shortcut.