I'm trying to check if my GADGET-2 initial conditions files for a galaxy cluster are phenomenologically accurate, and I use
py.plot.image(
data.dm,threaded=False,width='5000 kpc',vmin=10e-10),
which works flawlessly. Unfortunately, the same command for gas,
py.plot.image(data.g,threaded=False,width='5000 kpc',vmin=10e-10)
returns
ValueError: Failed to make a sensible logarithmic image. This probably means there are no particles in the view.
I can confirm that the "smooth" key for the gas is zero for each particle, but I'm not sure why that is. There is definitely mass in the gas, and there are many particles. Am I missing something obvious here?
Thanks a bunch in advance,
Eliza