plain_text – instance of
OutputPlainText. The
plain text version of the output.

rich_output – instance of an output container class
(subclass of
OutputBase). Guaranteed
to be one of the output containers returned from
supported_output(), possibly the same as
plain_text.

OUTPUT:

The IPython commandline display hook returns the IPython
display data, a pair of dictionaries. The first dictionary
contains mime types as keys and the respective output as
value. The second dictionary is metadata.

plain_text – instance of
OutputPlainText. The
plain text version of the output.

rich_output – instance of an output container class
(subclass of
OutputBase). Guaranteed
to be one of the output containers returned from
supported_output(), possibly the same as
plain_text.

OUTPUT:

The IPython notebook display hook returns the IPython
display data, a pair of dictionaries. The first dictionary
contains mime types as keys and the respective output as
value. The second dictionary is metadata.