title: cannot display Google Earth Engine Image in Jupyter Notebook
body: <p>I'm working on getting google earth engine working with my python setup (Windows 7, Python 2.7.8) using a tutorial I found online (<a href="https://github.com/tylere/ee-jupyter-examples/blob/master/2%20-%20EE%20101.ipynb" rel="nofollow noreferrer">here</a>). I can get EE to initialize, but cannot get it to display an image. </p>
  
  <pre><code>import ee
  from IPython.display import Image,display
  ee.Initialize()
  image = ee.Image('srtm90_v4')
  url = image.getThumbURL({'min':0,'max':3000})
  Image(url) 
  </code></pre>
  
  <p>The last line returns the following error:</p>
  
  <blockquote>
    <p>"---------------------------------------------------------------------------
    ValueError                                Traceback (most recent call last)
     in ()
    ----> 1 Image(url)</p>
    
    <p>D:\miniconda\envs\py27\lib\site-packages\IPython\core\display.pyc in <strong>init</strong>(self, data, url, filename, format, embed, width, height, retina, unconfined, metadata)
        750 
        751         if self.embed and self.format not in self._ACCEPTABLE_EMBEDDINGS:
    --> 752             raise ValueError("Cannot embed the '%s' image format" % (self.format))
        753         self.width = width
        754         self.height = height</p>
    
    <p>ValueError: Cannot embed the 'com/api/thumb?thumbid=a7f37aaf3e0e9a8ec6a0ef27f0a5ff89&amp;token=34a700091c83cadbc034141f7ea765da' image format"</p>
  </blockquote>
  
  <p>If I put the url into a web browser and save the image that comes up it saves a PNG. If I append PNG to the url, <code>Image(url+'.png')</code> <code>Image()</code> no longer throws an error and instead brings up:</p>
  
  <pre><code> &lt;IPython.core.display.Image object&gt;
  </code></pre>
  
  <p><code>display()</code> should be able to show this, but it also only brings up:</p>
  
  <pre><code> &lt;IPython.core.display.Image object&gt;
  </code></pre>
  
  <p>If I point <code>Image()</code> to the saved PNG file it works fine:</p>
  
  <pre><code>Image('./test_thumb.png')
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/8jjdV.png" rel="nofollow noreferrer">SRTM</a></p>
  
  <p>Any ideas on what is causing <code>Image()</code> to not display the Google Earth Engine thumbnail?</p>
  
  <p>I have tried added <code>%matplotlib lineline</code> after my initial imports (matplotlib is loaded via my ipython profile).</p>