##// END OF EJS Templates
Add image message handler in ZMQTerminalInteractiveShell...
Add image message handler in ZMQTerminalInteractiveShell This change introduces handler for messages which contain image in ZMQTerminalInteractiveShell. This is useful, for example, when connecting to the kernel in which pylab inline backend is activated. Current image handler only supports PIL backend.

File last commit:

r6630:ffeb4a6a
r8238:d232d498
Show More
__init__.py
20 lines | 547 B | text/x-python | PythonLexer
MinRK
update tornado dependency to 2.1...
r4856 """The IPython HTML Notebook"""
# check for tornado 2.1.0
msg = "The IPython Notebook requires tornado >= 2.1.0"
try:
import tornado
except ImportError:
raise ImportError(msg)
Matthew Brett
Fix for tornado check for tornado < 1.1.0...
r6132 try:
version_info = tornado.version_info
except AttributeError:
raise ImportError(msg + ", but you have < 1.1.0")
if version_info < (2,1,0):
raise ImportError(msg + ", but you have %s" % tornado.version)
MinRK
update tornado dependency to 2.1...
r4856 del msg
MinRK
add pyzmq check to notebook.__init__...
r6630
# check for pyzmq 2.1.4
from IPython.zmq import check_for_zmq
check_for_zmq('2.1.4', 'IPython.frontend.html.notebook')
del check_for_zmq