Hi Richard, To diagnose this, do you think you could try offsetting the slice position by something like 1e-6? I'll also try with the data files when I am able; would you be able to open an issue so we can track this there? On Sun, Jan 19, 2020 at 6:09 PM <g.r.kooij@student.rug.nl> wrote:
Hi all,
I'm trying to make slice plots for 3D chombo data sets created with pluto version 4.3, but I'm consistently (not just this dataset) running into the issue where some boxes are empty. I've also made a slice plot using VisIt where these empty boxes do not show up, so it's probably an issue in yt.
Is pluto v4.3 supported? Is there maybe an easy work around?
yt-version: 4.0.dev0 The issue was also present in the latest stable version.
The code to produce it is simple: fn = "data.0125.hdf5" var = 'density'
fig = plt.figure() ds = yt.load(fn)
p = yt.SlicePlot(ds, 'z', var)
p.zoom(2) p.pan_rel((0.,-0.1)) p.set_zlim(var, 1, 2) p.set_cmap(field=var, cmap='rainbow') p.set_width((1., 1.5)) p.set_log(var, True) p.show()
An image of the problem (red squares): https://i.imgur.com/llVsvn0.png
data file: http://use.yt/upload/4a0db3c5
pluto.ini file: http://use.yt/upload/781478c2
Cheers, Richard _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org