You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
be more friendly to the first argument being a local or remote path to any valid image format (right now it seems to work with png but not jpeg, on simple testing).
support width/height keywords and emit the corresponding html.
we should consider whether the return value should wrap the result in a jquery resizeable container, to match how the other image objects that are returned from plots behave.
The text was updated successfully, but these errors were encountered:
Improve Image format validation and add html width,height
This addresses the first two bullets of ipython#2053
Validates first argument to constrain format to png, jpeg,
Lets user specify width, height, or both and emits appropriate html
I introduced a couple of class constants to minimize the number of times I saw 'jpeg' and 'png'
and document the _ACCEPTABLE_FORMATS.
I added one real jpeg image to the test directory and one zero-length gif file to survive the file not found error in super()
Closesipython#2053
Add `assert_is_none`, `assert_is_not_none` to `nose.tools`
It should:
The text was updated successfully, but these errors were encountered: