2 Sep
2020
2 Sep
'20
6:18 p.m.
Hello, data_source in SlicePlot does not work (data_source in ProjectionPlot works). Would you explain how to enable it or fix the problem? ds= yt.load("../DD2000/jf2000") ad = ds.all_data() dense_ad = ad.cut_region(["obj['Density'] >= 0"]) p = yt.SlicePlot(ds, 'x',"density",center=[6.5536/2, 6.5536/2,(15.5/2+2.5)],origin=["lower", "center", "domain"] ,data_source=dense_ad ) I chose 0 so that it will pick up all the gas but it does not. There is no error message. It just does not show anything much in the figure. How can I attach figures here?