title: Display of music21, musicXML PNG objects using iPython Notebook/Enthought Canopy
body: <p>I am experimenting with the music21 library, in preparation for a Machine Learning project that involves genre classification and categorization. I and following some tutorials available <a href="http://web.mit.edu/music21/doc/about/quickStart.html" rel="nofollow noreferrer">here</a>. I am using <a href="http://musescore.org/" rel="nofollow noreferrer">MuseScore</a> as my <a href="http://en.wikipedia.org/wiki/MusicXML" rel="nofollow noreferrer">MusicXML</a> program, and I am trying to run the whole thing from iPython.</p>
  
  <p>Although I can run the some of the turtorials from the terminal, some elements don't seem to run well from inside iPython. For example:</p>
  
  <pre><code>In [3]: sBach.show()
  Out[3]: &lt;music21.ipython21.objects.IPythonPNGObject at 0x10da0aa10&gt;
  </code></pre>
  
  <p>The line above shows that the PNG object is created, but not displayed. The expected output for <a href="http://en.wikipedia.org/wiki/MusicXML" rel="nofollow noreferrer">3</a> above is the following:</p>
  
  <p><img src="https://i.stack.imgur.com/NOWG1.png" alt="enter image description here">
  Experimenting with the following iPython command, I get a placeholder for an image, but not image.  </p>
  
  <pre><code>In [6]: %load_ext music21.ipython21.ipExtension
  In [7]: sBach.show()
  </code></pre>
  
  <p>I can't find any problem with my MusicXMLPath. This <a href="http://web.mit.edu/music21/doc/developerReference/installIPython.html" rel="nofollow noreferrer">tutorial</a> refers to the use of musc21 with Anaconda, but all my developments is done with Enthought, so I prefer not to run another virtual environment to use music21 with iPython.</p>
  
  <p>Is there any way to run music21 in an Enthought/iPython notebook?</p>
  
  <p><img src="https://i.stack.imgur.com/a5ssw.png" alt="enter image description here"></p>