molsysmt.third_party.nglview.clear#

molsysmt.third_party.nglview.clear(view, skip_digestion=False)[source]#

Clearing all visual representations and components from an NGLWidget viewer.

Parameters:
  • view (nglview.NGLWidget) – Target molecular viewer instance.

  • skip_digestion (bool, default=False) – Whether to skip MolSysMT’s internal argument digestion mechanism.

  • versionadded: (..) – 1.0.0: