<div dir="ltr"><div><div><div>Hi,<br><br><a href="http://yt-project.org/doc/cookbook/complex_plots.html#thin-slice-projections">http://yt-project.org/doc/cookbook/complex_plots.html#thin-slice-projections</a><br><br></div>Is it possible to create a thin slice projection of particles (instead of density)?<br><br><br></div>I tried the following three methods but get errors:<br><br>1. p = yt.ParticlePlot(ds, 2, ['particle_mass'], data_source=region)<br><br>TypeError: __init__() got multiple values for keyword argument 'data_source'<br><br><br>2. p = yt.ParticleProjectionPlot(ds, 2, ['particle_mass'], data_source=region)<br><br>finfo = self.ds._get_field_info("unknown", fname)<br><br><br>3. p = yt.ProjectionPlot(ds, 2, ['particle_mass'], data_source=region)<br><br>  File "/home/sagarwal/codes/yt/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line 1429, in __init__<br>    field_parameters = field_parameters, method = method)<br>  File "/home/sagarwal/codes/yt/yt-x86_64/src/yt-hg/yt/data_objects/construction_data_containers.py", line 253, in __init__<br>    field = self._determine_fields(ensure_list(field))<br>  File "/home/sagarwal/codes/yt/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py", line 518, in _determine_fields<br>    finfo = self.ds._get_field_info("unknown", fname)<br><br><br></div>Shankar<br></div>