plot_subset_of_atoms

visualize.plot_subset_of_atoms(ase_atoms, subset, **kwargs)

Return a Plotly Mesh3d trace for a subset of atoms selected by index.

Parameters

Name Type Description Default
ase_atoms an ase atoms object required
subset a list of atom ids that you want to plot required

Returns

Name Type Description
A plotly mesh3D trace that can be added to a plotly figure