ipython/ipython — pull request #2219 by jerryatmda (2012-07-29 22:36:25+00:00)
Title: New attempt to close 2053

Image now complains if it receives neither filename, url, nor data (param1)
Image honors width and height on html.
tests/test_display.pl exhibits this new behavior

This is a new take on the code I wrote with min and coaxed into a pull request with Mathieu's help.
I put myself into remote-hell with my previous attempt, trying to make the improvement
suggested by bfroehle. To comment on that, I can find no html usage in ipython that behaves
as he suggests. Doing so for this single simple example seems like overkill.

I did clean up the code so that it is more elegant per bfroehle's suggestion

I will shortly close my other pull request on this if this meets your approval.

Closes issue 2053