[yt-svn] commit/yt: brittonsmith: Fixing issue with quiver callback in PlotCollectionInteractive.
Bitbucket
commits-noreply at bitbucket.org
Mon Nov 14 14:19:40 PST 2011
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/fd365f05b4f7/
changeset: fd365f05b4f7
branch: yt
user: brittonsmith
date: 2011-11-14 23:19:31
summary: Fixing issue with quiver callback in PlotCollectionInteractive.
Closes #300.
affected #: 1 file
diff -r be7925123b29d9ae4cac18d048c557d65792ac71 -r fd365f05b4f7ee1cd0e68f3ff7bc8dd6e85148e5 yt/visualization/plot_modifications.py
--- a/yt/visualization/plot_modifications.py
+++ b/yt/visualization/plot_modifications.py
@@ -164,8 +164,8 @@
plot.data[self.field_y] - self.bv_y,
int(nx), int(ny),
(x0, x1, y0, y1),).transpose()
- X = na.mgrid[0:plot.image._A.shape[0]-1:nx*1j]# + 0.5*factor
- Y = na.mgrid[0:plot.image._A.shape[1]-1:ny*1j]# + 0.5*factor
+ X = na.mgrid[0:plot.image._A.shape[0]-1:ny*1j]# + 0.5*factor
+ Y = na.mgrid[0:plot.image._A.shape[1]-1:nx*1j]# + 0.5*factor
if self.normalize:
nn = na.sqrt(pixX**2 + pixY**2)
pixX /= nn
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