-
Notifications
You must be signed in to change notification settings - Fork 525
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
Two from_xml
fixes and other documentation fixes
#2074
Conversation
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.
My only request is that now that mask_components is successfully moved to/from XML in plots now, it should also be tested in addition to the color test you added. Should be just two lines of code.
@gridley Thanks for the review and the suggestion. I've just updated one of the unit tests to include |
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.
Just one suggestion on an internal function, but otherwise this looks good to me!
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.
Looks good to me! Thanks @paulromano!
@gridley Do you have any more requests on this PR? |
Nope, merging now! |
This PR has a few small fixes:
Plot.from_xml_element
method now sets thecolors
attribute. This required some changes in the colors setter to allow a map of ID to colors (before we only allowed Cell/Material objects). Closes Plot.from_xml_element doesn't grab colors from XML file #2073Material
class docstring