##// 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
embed1.py
10 lines | 221 B | text/x-python | PythonLexer
"""This tests standard embedding, automatically detecting the module and
local namespaces."""
f = set([1,2,3,4,5])
def bar(foo):
import IPython
IPython.embed(banner1='check f in globals, foo in locals')
bar(f)