molsysmt.third_party.nglview.write_html#

molsysmt.third_party.nglview.write_html(view, output_filename)[source]#

Exporting an interactive 3D scene from NGLWidget to a standalone HTML file.

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

  • output_filename (str or pathlib.Path) – Output file path for serialization.

  • versionadded: (..) – 1.0.0: