ecolab.collapse

Contents

ecolab.collapse#

etils.ecolab.collapse(name: str = '', *, expanded: bool = False) Iterator[None][source]#

Capture all outputs and display it in a collapsible block.

Parameters:
  • name – Name of the collapsible section.

  • expanded – If True, the section is expanded by default.

Yields:

None