[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed Jul 27 09:38:41 PDT 2016
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/e5a10709b5dd/
Changeset: e5a10709b5dd
Branch: yt
User: ngoldbaum
Date: 2016-07-25 01:01:50+00:00
Summary: Make the show() method display the scene instead of relying on return semantics of notebook cells
Affected #: 1 file
diff -r af2d5d85d9a96ee9039957cbd8b99e4c6ef2a928 -r e5a10709b5dd1cb2ee9a47c5df516776d4409bf9 yt/visualization/volume_rendering/scene.py
--- a/yt/visualization/volume_rendering/scene.py
+++ b/yt/visualization/volume_rendering/scene.py
@@ -778,8 +778,9 @@
"""
if "__IPYTHON__" in dir(builtins):
+ from IPython.display import display
self._sigma_clip = sigma_clip
- return self
+ display(self)
else:
raise YTNotInsideNotebook
https://bitbucket.org/yt_analysis/yt/commits/8bcf15297a44/
Changeset: 8bcf15297a44
Branch: yt
User: atmyers
Date: 2016-07-27 16:37:51+00:00
Summary: Merged in ngoldbaum/yt (pull request #2304)
[bugfix] scene.show() fix
Affected #: 1 file
diff -r 6146c2117de66b1b6eb6c8c486f6d87f5c2d747d -r 8bcf15297a44ba45987308b185a700d49563d0e3 yt/visualization/volume_rendering/scene.py
--- a/yt/visualization/volume_rendering/scene.py
+++ b/yt/visualization/volume_rendering/scene.py
@@ -778,8 +778,9 @@
"""
if "__IPYTHON__" in dir(builtins):
+ from IPython.display import display
self._sigma_clip = sigma_clip
- return self
+ display(self)
else:
raise YTNotInsideNotebook
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