[Yt-svn] yt: corrected bug in add_projection
hg at spacepope.org
hg at spacepope.org
Sat Jun 12 14:55:06 PDT 2010
hg Repository: yt
details: yt/rev/aed9ff31fd38
changeset: 1776:aed9ff31fd38
user: J.S. Oishi <jsoishi at gmail.com>
date:
Sat Jun 12 14:54:57 2010 -0700
description:
corrected bug in add_projection
diffstat:
yt/raven/plot_collection.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 9c6b422253b0 -r aed9ff31fd38 yt/raven/plot_collection.py
--- a/yt/raven/plot_collection.py Fri Jun 11 16:33:10 2010 -0700
+++ b/yt/raven/plot_collection.py Sat Jun 12 14:54:57 2010 -0700
@@ -707,6 +707,7 @@
>>> pc = PlotCollection(pf, [0.5, 0.5, 0.5])
>>> p = pc.add_projection("Density", 0, "Density")
"""
+ if field_parameters is None: field_parameters = {}
if center == None:
center = self.c
if obj is None:
More information about the yt-svn
mailing list