moved plot outline test, added levels

This commit is contained in:
Jonathan Shimwell 2023-04-19 16:02:07 +01:00
parent 887cfd2e78
commit a8e7d38555
3 changed files with 2 additions and 1 deletions

View file

@ -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),
)

View file

@ -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)

View file

@ -59,6 +59,7 @@ def test_plot(run_in_tmpdir, sphere_model):
pixels=(10, 10),
color_by='material',
colors=colors,
outline=True,
)