You are viewing an older version (9.5.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.5.0 / IPython / core / displayhook / DisplayHook / write_format_data

function

IPython.core.displayhook:DisplayHook.write_format_data

source: /IPython/core/displayhook.py :169

Signature

def   write_format_data ( self format_dict md_dict = None )  →  None

Summary

Write the format data dict to the frontend.

Extended Summary

This default version of this method simply writes the plain text representation of the object to sys.stdout. Subclasses should override this method to send the entire format_dict to the frontends.

Parameters

format_dict : dict

The format dict for the object passed to sys.displayhook.

md_dict : dict (optional)

The metadata dict to be associated with the display data.

Aliases

  • IPython.core.displayhook.DisplayHook.write_format_data