<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 24, 2017 at 1:53 PM, Bili Dong <span dir="ltr"><<a href="mailto:qobilidop@gmail.com" target="_blank">qobilidop@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Andrew,<div><br></div><div>This an issue I just solved two days ago in this <a href="https://bitbucket.org/yt_analysis/yt/pull-requests/2527" target="_blank">PR</a>. It’s related to the numpy version. A quick fix is to pass `stride=1` to `annotate_particles` directly. Or you can update yt to the most recent version where that PR is merged.</div></div></blockquote><div><br></div><div>We'll be cutting a new release including this fix (and a few others as well) in the next few days.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Hope that helps.</div><div><br></div><div>Regards,</div><div>Bili</div><div><br><div><blockquote type="cite"><div><div class="h5"><div>On Feb 24, 2017, at 11:49 AM, Andrew James Emerick <<a href="mailto:aje2123@columbia.edu" target="_blank">aje2123@columbia.edu</a>> wrote:</div><br class="m_-4728711803883019569Apple-interchange-newline"></div></div><div><div><div class="h5"><div dir="ltr">HI all,<div><br></div><div>I'm getting a weird failure in the annotate particles callback that I'm having trouble reproducing on another machine. </div><div><br></div><div>Here is the error message output I'm getting: <a href="http://paste.yt-project.org/show/7048/" target="_blank">http://paste.yt-<wbr>project.org/show/7048/</a>   . I'm just doing a simple:</div><div><br></div><div>$ sp = yt.SlicePlot(ds, 'z', 'density')</div><div>$ sp.annotate_particles(0.9)</div><div>$ sp.save()</div><div><br></div><div>This error occurs only on a machine where I have yt installed from source (version 3.3.4, changeset 6e21d8723012 of the stable branch.. this also occured on changeset 7f76a9ccfcca). I could not reproduce the error on a local machine where I've installed yt using anaconda (yt version 3.3.4). It fails on a ProjectionPlot as well.</div><div><br></div><div>Any thoughts on what could be causing this?</div><div><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Andrew</div><div>-- <br><div class="m_-4728711803883019569gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small">NSF Graduate Fellow</div><div style="font-family:arial;font-size:small">Columbia University<br></div><div style="font-family:arial;font-size:small">Department of Astronomy</div></div></div></div></div>
</div></div></div></div>
______________________________<wbr>_________________<br>yt-users mailing list<br><a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br></div></blockquote></div><br></div></div><br>______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
<br></blockquote></div><br></div></div>