This gives two new IPython magic commands: %hierarchy and %%dot , doing what you expect them to do, at least for %%dot . We skip %hierarchy here, but you can uncomment it to see the standard example.