[Yt-svn] yt-commit r1411 - trunk/examples
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Tue Aug 25 12:46:59 PDT 2009
Author: mturk
Date: Tue Aug 25 12:46:57 2009
New Revision: 1411
URL: http://yt.spacepope.org/changeset/1411
Log:
Made the script match the name
Modified:
trunk/examples/cookbook_simple_projection.py
Modified: trunk/examples/cookbook_simple_projection.py
==============================================================================
--- trunk/examples/cookbook_simple_projection.py (original)
+++ trunk/examples/cookbook_simple_projection.py Tue Aug 25 12:46:57 2009
@@ -3,8 +3,8 @@
pf = load("my_data") # Open "my_data"
pc = PlotCollection(pf)
-pc.add_slice("Density", 0)
-pc.add_slice("Density", 1)
-pc.add_slice("Density", 2)
+pc.add_projection("Density", 0)
+pc.add_projection("Density", 1)
+pc.add_projection("Density", 2)
print pc.save("enzorun")
More information about the yt-svn
mailing list