[yt-svn] commit/yt: MatthewTurk: Fix dangling reference to data.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Jun 23 08:47:43 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/90a724768665/
Changeset: 90a724768665
Branch: yt-3.0
User: MatthewTurk
Date: 2014-06-23 17:47:28
Summary: Fix dangling reference to data.
Affected #: 1 file
diff -r e37e6b9ca89df37596892e4f2c2fdacb94270345 -r 90a72476866588cb0f92183e4f63daaef4f729ea yt/visualization/plot_modifications.py
--- a/yt/visualization/plot_modifications.py
+++ b/yt/visualization/plot_modifications.py
@@ -1236,7 +1236,7 @@
def __call__(self, plot):
plot._axes.hold(True)
- ax = data.axis
+ ax = plot.data.axis
xax = plot.data.pf.coordinates.x_axis[ax]
yax = plot.data.pf.coordinates.y_axis[ax]
l_cy = triangle_plane_intersect(plot.data.axis, plot.data.coord, self.vertices)[:,:,(xax, yax)]
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list