[yt-svn] [yt_analysis/yt] show() failure due to IPython API changes (issue #428)
Anthony Scopatz
issues-reply at bitbucket.org
Tue Sep 25 12:49:32 PDT 2012
--- you can reply above this line ---
New issue 428: show() failure due to IPython API changes
https://bitbucket.org/yt_analysis/yt/issue/428/show-failure-due-to-ipython-api-changes
Anthony Scopatz:
Reporting that the Plot.show() method seems to fail on IPython 0.14-dev because of an API change. The send_figure function is no longer where yt thinks it is.
{{{python
ImportError Traceback (most recent call last)
<ipython-input-2-4804b2a8abc5> in <module>()
4 p.annotate_flash_ray_data(pf, 'jet', 10)
5 p.annotate_timestamp(0.2/z, 0.2/z, pf, units="days", size=24)
----> 6 p.show()
/home/scopatz/.local/lib/python2.7/site-packages/yt-3.0dev-py2.7-linux-x86_64.egg/yt/visualization/plot_window.pyc in show(self)
788 """
789 if "__IPYTHON__" in dir(__builtin__):
--> 790 self._send_zmq()
791 else:
792 raise YTNotInsideNotebook
/home/scopatz/.local/lib/python2.7/site-packages/yt-3.0dev-py2.7-linux-x86_64.egg/yt/visualization/plot_window.pyc in _send_zmq(self)
763
764 def _send_zmq(self):
--> 765 from IPython.zmq.pylab.backend_inline import \
766 send_figure
767 for k, v in sorted(self.plots.iteritems()):
ImportError: cannot import name send_figure
}}}
--
This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.
More information about the yt-svn
mailing list