Skip to main content

geom.view()

Display a geometry with py3Dmol.

Usage

Source

geom.view(
    geo,
    *,
    view=None,
    label=False,
)

Parameters

geo: Geometry

Geometry.

view: py3Dmol.view | None = None

Existing view to add the geometry to. If None, create one.

label: bool = False
If True, label atoms by index.

Returns

py3Dmol.view
The view containing the geometry.