MCPcopy Create free account
hub / github.com/ipython/ipython / display_svg

Function display_svg

IPython/core/display.py:451–465  ·  view source on GitHub ↗

Display the SVG representation of an object. Parameters ---------- objs : tuple of objects The Python objects to display, or if raw=True raw svg data to display. raw : bool Are the data objects raw data or Python objects that need to be formatted befo

(*objs, **kwargs)

Source from the content-addressed store, hash-verified

449
450
451def display_svg(*objs, **kwargs):
452 """Display the SVG representation of an object.
453
454 Parameters
455 ----------
456 objs : tuple of objects
457 The Python objects to display, or if raw=True raw svg data to
458 display.
459 raw : bool
460 Are the data objects raw data or Python objects that need to be
461 formatted before display? [default: False]
462 metadata : dict (optional)
463 Metadata to be associated with the specific mimetype output.
464 """
465 _display_mimetype('image/svg+xml', objs, **kwargs)
466
467
468def display_png(*objs, **kwargs):

Callers

nothing calls this directly

Calls 1

_display_mimetypeFunction · 0.85

Tested by

no test coverage detected