[yt-svn] commit/yt: ngoldbaum: Removing unnecessary path indirection from cmap_images.py.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Jul 21 15:35:00 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/8c4202955c69/
Changeset: 8c4202955c69
Branch: yt-3.0
User: ngoldbaum
Date: 2014-07-22 00:32:52
Summary: Removing unnecessary path indirection from cmap_images.py.
Affected #: 1 file
diff -r f7fca80f28c43a012d73e4f1cad78ca403cdccd5 -r 8c4202955c69c22c3773df716fc4e39326ff29d3 doc/source/visualizing/colormaps/cmap_images.py
--- a/doc/source/visualizing/colormaps/cmap_images.py
+++ b/doc/source/visualizing/colormaps/cmap_images.py
@@ -2,7 +2,7 @@
import matplotlib.cm as cm
# Load the dataset.
-ds = yt.load(os.path.join(ytcfg.get("yt", "test_data_dir"), "IsolatedGalaxy/galaxy0030/galaxy0030"))
+ds = yt.load("IsolatedGalaxy/galaxy0030/galaxy0030")
# Create projections using each colormap available.
p = yt.ProjectionPlot(ds, "z", "density", weight_field = "density", width=0.4)
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