Hi Andrew,

This an issue I just solved two days ago in this PR. 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.

Hope that helps.

Regards,
Bili

On Feb 24, 2017, at 11:49 AM, Andrew James Emerick <aje2123@columbia.edu> wrote:

HI all,

I'm getting a weird failure in the annotate particles callback that I'm having trouble reproducing on another machine. 

Here is the error message output I'm getting: http://paste.yt-project.org/show/7048/   . I'm just doing a simple:

$ sp = yt.SlicePlot(ds, 'z', 'density')
$ sp.annotate_particles(0.9)
$ sp.save()

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.

Any thoughts on what could be causing this?



Thanks,
Andrew
--
NSF Graduate Fellow
Columbia University
Department of Astronomy
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org