from music21 import *
n = note.Note()
n.show()
c = corpus.parse('bwv66.6')
c.show()
us = environment.UserSettings()
storedShowFormat = us['ipythonShowFormat']
storedShowFormat
 'ipython.vexflow'
us['ipythonShowFormat'] = 'ipython.lilypond.png'
c.show()
../_images/usersGuide_95_vexflowIPython_8_0.png
us['ipythonShowFormat'] = storedShowFormat
c.show()