[yt-svn] commit/yt: ngoldbaum: Making show() invoke IPython.display.display on IPython 1.0
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Aug 15 16:11:07 PDT 2013
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/7d2a2985e72d/
Changeset: 7d2a2985e72d
Branch: yt
User: ngoldbaum
Date: 2013-08-16 00:45:25
Summary: Making show() invoke IPython.display.display on IPython 1.0
Affected #: 1 file
diff -r 9f33ef8332b7678e69cb9e41f02747a1a057597a -r 7d2a2985e72d6bba38bd37bea3db5d64d60c9fd5 yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -1127,7 +1127,8 @@
if api_version in ('0.10', '0.11'):
self._send_zmq()
else:
- return self
+ from IPython.display import display
+ 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