Display Exercise 1


Put any needed imports needed to display rich output the following cell:

In [15]:
from IPython.display import Image
from IPython.display import HTML

In [16]:
assert True # leave this to grade the import statements

Basic rich display

Find a Physics related image on the internet and display it in this notebook using the Image object.

  • Load it using the url argument to Image (don't upload the image to this server).
  • Make sure the set the embed flag so the image is embedded in the notebook data.
  • Set the width and height to 600px.

In [17]:
Image(url='http://upload.wikimedia.org/wikipedia/commons/6/6f/CMB_Timeline300_no_WMAP.jpg', embed=True, width=600, height=600)