Note
This documentation is for a development version of IPython. There may be significant differences from the latest stable release.
Image class.
Represents an image in the frontend using a widget.
Bases: IPython.html.widgets.widget.DOMWidget
Displays an image as a widget.
The value of this widget accepts a byte string. The byte string is the raw image data that you want the browser to display. You can explicitly define the format of the byte string using the format trait (which defaults to “png”).