##// END OF EJS Templates
Simplified the reset of the _svg_warning_displayed flag in RichIPythonWidget...
Simplified the reset of the _svg_warning_displayed flag in RichIPythonWidget By overriding export_html(), and reseting the flag prior to the html export. This avoids repeated messages for a single document save, but repeats the message for subsequent saves, including in new tabs and across kernel restarts.

File last commit:

r6630:ffeb4a6a
r6865:335f6b12
Show More
__init__.py
20 lines | 547 B | text/x-python | PythonLexer
"""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)
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)
del msg
# 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