[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed Oct 14 12:05:14 PDT 2015
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/095d8be4a15d/
Changeset: 095d8be4a15d
Branch: yt
User: atmyers
Date: 2015-10-14 18:45:59+00:00
Summary: typo
Affected #: 1 file
diff -r 52b57ac913dd7e334914c7e8985f35ebb1618346 -r 095d8be4a15d507a678995f473b6ae740dfa1fcf yt/visualization/volume_rendering/render_source.py
--- a/yt/visualization/volume_rendering/render_source.py
+++ b/yt/visualization/volume_rendering/render_source.py
@@ -513,7 +513,7 @@
class GridSource(LineSource):
- def __init__(self, data_source, alpha=0.3, cmap='alage',
+ def __init__(self, data_source, alpha=0.3, cmap='algae',
min_level=None, max_level=None):
r"""A render source for drawing grids in a scene.
https://bitbucket.org/yt_analysis/yt/commits/c405fe3c4c9d/
Changeset: c405fe3c4c9d
Branch: yt
User: atmyers
Date: 2015-10-14 18:47:21+00:00
Summary: fixing a bug for default-constructed Cameras - width is expected to be an iterable below
Affected #: 1 file
diff -r 095d8be4a15d507a678995f473b6ae740dfa1fcf -r c405fe3c4c9d3484eead3903e3640d902659a798 yt/visualization/volume_rendering/camera.py
--- a/yt/visualization/volume_rendering/camera.py
+++ b/yt/visualization/volume_rendering/camera.py
@@ -70,7 +70,7 @@
self.normal_vector = None
self.light = None
self._resolution = (512, 512)
- self._width = 1.0
+ self._width = np.array([1.0, 1.0, 1.0])
self._focus = np.array([0.0]*3)
self._position = np.array([1.0]*3)
self.set_lens(lens_type)
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