IPythonVisualization

IPythonVisualization#

class treescope.IPythonVisualization[source]#

Bases: object

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

Variables:
  • display_object (object_inspection.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