<div dir="ltr">yt-users,<div><br></div><div>I am trying to set the colorbar limits for a plot that has particle annotations but it is throwing an error.</div><div><br></div><div>Here is a brief snippet to show what I mean</div><div><br></div><div>cut = yt.SlicePlot(ds,'x','HI_Density')</div><div>cut.set_zlim('HI_Density',1e-8,1e-2)</div><div>cut.annotate_particles((30,'kpc'),marker='o',ptype='DM')</div><div>cut.save()</div><div><br></div><div>This plot was working fine before I added the zlim statement.</div><div>Now it is throwing the error</div><div>Could not find field '('DM', 'HI_density')' in redshift0058.</div><div><br></div><div>Is this just a bug or is there some other reason why I can't set the colorbar limits.</div><div><br></div><div>Thanks,</div><div>Joe Tomlinson</div></div>