[Yt-svn] yt: Adding Camera and HomogenizedVolume to the yt.mods imports.

hg at spacepope.org hg at spacepope.org
Tue Nov 23 12:30:41 PST 2010


hg Repository: yt
details:   yt/rev/ddafd2881962
changeset: 3553:ddafd2881962
user:      Matthew Turk <matthewturk at gmail.com>
date:
Tue Nov 23 15:30:36 2010 -0500
description:
Adding Camera and HomogenizedVolume to the yt.mods imports.

diffstat:

 yt/mods.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 9ee32ec8db42 -r ddafd2881962 yt/mods.py
--- a/yt/mods.py	Mon Nov 22 08:45:58 2010 -0500
+++ b/yt/mods.py	Tue Nov 23 15:30:36 2010 -0500
@@ -87,7 +87,8 @@
     callback_registry, write_bitmap, write_image
 
 from yt.visualization.volume_rendering.api import \
-    ColorTransferFunction, PlanckTransferFunction, ProjectionTransferFunction
+    ColorTransferFunction, PlanckTransferFunction, ProjectionTransferFunction, \
+    HomogenizedVolume, Camera
 
 for name, cls in callback_registry.items():
     exec("%s = cls" % name)



More information about the yt-svn mailing list