Open MicahGale opened 2 days ago
might need to be something like this,
openmc.plot_xs({"U238": ["capture"]})
Would a change to the doc string like this PR help @MicahGale
Yes that is the correct way.
The docs should be clarified, but also the type enforcement should be stricter, and clearer.
Bug Description
An unclear
TypeError
is raised byplot_xs
when given the improper arguments.Steps to Reproduce
In my first reading the documentation
{"U-238": "capture"}
seemed completely valid:Environment