display
Display data and capture cell output without a frontend.
Pretty
def Pretty(
data, *, metadata=None
):
Wrap literal display data. Loading files and URLs is up to the caller.
HTML
def HTML(
data, *, metadata=None
):
Wrap literal display data. Loading files and URLs is up to the caller.
Markdown
def Markdown(
data, *, metadata=None
):
Wrap literal display data. Loading files and URLs is up to the caller.
Latex
def Latex(
data, *, metadata=None
):
Wrap literal display data. Loading files and URLs is up to the caller.
Javascript
def Javascript(
data, *, metadata=None
):
Wrap literal display data. Loading files and URLs is up to the caller.
Math
def Math(
data, *, metadata=None
):
Wrap literal display data. Loading files and URLs is up to the caller.
JSON
def JSON(
data, *, expanded:bool=False, metadata=None, root:str='root', **kwargs
):
Wrap literal display data. Loading files and URLs is up to the caller.
JSON.data
def data():
SVG
def SVG(
data, *, metadata=None
):
Wrap literal display data. Loading files and URLs is up to the caller.
SVG.data
def data():
Image
def Image(
data, *, width=None, height=None, metadata=None, alt=None
):
Display encoded image bytes (for example the result of a screenshot).
DisplayHandle
def DisplayHandle(
display_id=None
):
Publish or update displays sharing an ID.
DisplayHandle.display
def display(
obj, **kwargs
):
DisplayHandle.update
def update(
obj, **kwargs
):
display
def display(
*objs, include=None, exclude=None, metadata=None, transient=None, display_id=None, raw:bool=False,
clear:bool=False, update:bool=False
):
Publish objects or raw MIME bundles. Return a handle if a display ID is requested.
display_pretty
def display_pretty(
*objs, **kwargs
):
display_html
def display_html(
*objs, **kwargs
):
display_markdown
def display_markdown(
*objs, **kwargs
):
display_svg
def display_svg(
*objs, **kwargs
):
display_png
def display_png(
*objs, **kwargs
):
display_jpeg
def display_jpeg(
*objs, **kwargs
):
display_webp
def display_webp(
*objs, **kwargs
):
display_latex
def display_latex(
*objs, **kwargs
):
display_json
def display_json(
*objs, **kwargs
):
display_javascript
def display_javascript(
*objs, **kwargs
):
display_pdf
def display_pdf(
*objs, **kwargs
):
update_display
def update_display(
obj, *, display_id, **kwargs
):
Publish an update to an existing display ID.
clear_output
def clear_output(
wait:bool=False
):
Clear captured rich displays, as in IPython's batch publisher.