mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fixing plot xs for when plotting element string reaction (#3029)
This commit is contained in:
parent
2a53aba1c1
commit
e6c5f56ee2
2 changed files with 10 additions and 5 deletions
|
|
@ -75,7 +75,7 @@ def test_calculate_cexs_with_materials(test_mat):
|
|||
@pytest.mark.parametrize("this", ["Be", "Be9"])
|
||||
def test_plot_xs(this):
|
||||
from matplotlib.figure import Figure
|
||||
assert isinstance(openmc.plot_xs({this: ['total', 'elastic']}), Figure)
|
||||
assert isinstance(openmc.plot_xs({this: ['total', 'elastic', 16, '(n,2n)']}), Figure)
|
||||
|
||||
|
||||
def test_plot_xs_mat(test_mat):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue