<div dir="ltr">Hi All, <div><br></div><div>Is the accumulation flag working in 3.0? </div><div>I tried to plot the enclosed mass in a sphere and I got some funny results. </div><div><br></div><div><div>rpm = yt.create_profile(sp, 'radius',  'cell_mass',</div><div>                        units = {'radius': 'pc', 'cell_mass' : 'Msun'}, </div><div>                        weight_field='density', accumulation=True, fractional=False)</div></div><div><br></div><div>print "Mass = ", rpm["gas", "cell_mass"]<br></div><div><br></div><div>In this case bin[n-1] gives a mass of something like 0.5 Msun but when I print the totals quantity I get a value of several orders of magnitude higher and closer to what I would expect.</div><div><br></div><div>sp.quantities.total_quantity(["cell_mass", "particle_mass"])<br></div><div><br></div><div>Cheers,</div><div>John</div></div>