[yt-svn] commit/yt: devinsilvia: changed pf.h.slc to pf.h.slice in plot_window.py

Bitbucket commits-noreply at bitbucket.org
Mon Jul 30 12:33:36 PDT 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/9ce1c46590e5/
changeset:   9ce1c46590e5
branch:      yt
user:        devinsilvia
date:        2012-07-30 21:31:22
summary:     changed pf.h.slc to pf.h.slice in plot_window.py
affected #:  1 file

diff -r aceb4f9032b71e1b22e75c9900b2ad3f1d5705dc -r 9ce1c46590e520ed99d243bf53ad0fd0c9ab7a0b yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -771,7 +771,7 @@
         """
         axis = fix_axis(axis)
         (bounds,center) = GetBoundsAndCenter(axis, center, width, pf)
-        slc = pf.h.slc(axis, center[axis], fields=fields)
+        slc = pf.h.slice(axis, center[axis], fields=fields)
         PWViewerMPL.__init__(self, slc, bounds, origin=origin)
 
 class ProjectionPlot(PWViewerMPL):

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