from IPython.display import FileLink FileLink("nelder-mead.gif")
More information: Nelder-Mead method (Wikipedia)
(That's also where the animation is from.)