mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
moved plot outline test, added levels
This commit is contained in:
parent
887cfd2e78
commit
a8e7d38555
3 changed files with 2 additions and 1 deletions
|
|
@ -413,6 +413,7 @@ class Universe(UniverseBase):
|
|||
colors="k",
|
||||
linestyles="solid",
|
||||
linewidths=1,
|
||||
levels=np.unique(image_value),
|
||||
extent=(x_min, x_max, y_min, y_max),
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ def myplot():
|
|||
plot.filename = 'myplot'
|
||||
plot.type = 'slice'
|
||||
plot.basis = 'yz'
|
||||
plot.outline = True
|
||||
plot.background = 'black'
|
||||
plot.background = (0, 0, 0)
|
||||
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ def test_plot(run_in_tmpdir, sphere_model):
|
|||
pixels=(10, 10),
|
||||
color_by='material',
|
||||
colors=colors,
|
||||
outline=True,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue