Issue #756: annotate_grids callback broken in yt-3.0 (yt_analysis/yt)
New issue 756: annotate_grids callback broken in yt-3.0 https://bitbucket.org/yt_analysis/yt/issue/756/annotate_grids-callback-broke... Cameron Hummels: yt fails when I try to run the annotate_grids callback on a SlicePlot (or ProjectionPlot). I'm on unitrefactor tip (changeset: d20587c1602e), but this occurs on yt-3.0 tip too (changeset: 78664aafcfec): I run this script: http://paste.yt-project.org/show/4164/ on a 2D enzo dataset, and get this callback: http://paste.yt-project.org/show/d4aYqgLDmRb2CNtR2RsU As far as I can tell, the problem lies in the fact that YTSlice doesn't inherit the attributes from the YTSelectionContainer (and GridPropertiesMixin object) as it did in 2.x when the Slice was done through an AMR2DData object which was a subclass of GridPropertiesMixin. GridPropertiesMixin set grid_left_edge as an attribute, which no longer exists in 3.0.
participants (1)
-
Cameron Hummels