<div dir="ltr"><div><div><div><div><div>Hi All, <br><br><br></div>I was wondering about the behaviour of create_profile in 3.0.<br><br></div>If I do something like<br><br>yt.create_profile(sphere, 'particle_radius',  'all_density')<br><br></div>it will fail but<br><br>yt.create_profile(sphere, 'radius',  'all_density')<br><br></div>will succeed. <br><br></div><div>And <br>yt.create_profile(sphere, 'particle_radius', 'particle_mass', <br>                            weight_field=None)<br><br></div><div>will also be OK as long as I set the weight_field = None otherwise it fails. <br><br><br></div><div>I'm able to plot enclosed dark matter profiles but when it comes to density profiles the above difficulties are proving troublesome :)<br><br></div><div>Any tips would be appreciated! Simple script attached. <br><br></div><div>John<br><br><br></div></div>