IPythonVisualization

IPythonVisualization#

class penzai.treescope.autovisualize.IPythonVisualization[source]#

Bases: object

Used by autovisualizers to replace a subtree with a display object.

Variables:
  • display_object (embedded_iframe.HasReprHtml) – An object to render, e.g. a figure.

  • replace (bool) – Whether to replace the subtree commpletely with this display object. If False, the display object will be rendered below the object.

Methods

__init__(display_object[, replace])

Attributes

replace

display_object