##// END OF EJS Templates
Image embed vs not embed notebook example...
Image embed vs not embed notebook example consist of 2 images, same URL, display in the notebook, one witih embed=True the other with embed=False, Chosen url is google doodle url which should show : the first, embeded : google doodle of robert doisneau's commemoration day the other, with url kwarg : google doodle of current the day

File last commit:

r5679:2bbef0cd
r6530:fe2f9ba3
Show More
embed2.py
5 lines | 220 B | text/x-python | PythonLexer
Thomas Kluyver
Add manual tests for embedding IPython.
r5679 """This tests passing a dict for the user_ns at shell instantiation."""
from IPython import embed
user_ns = dict(cookie='monster')
embed(user_ns=user_ns, banner1="check 'cookie' present, locals and globals equivalent")