plot_framework_as_mesh
go-to Default mesh framework trace in show_mof_plotly and workflow gallery figures.
visualize.plot_framework_as_mesh(
ase_atoms,
show_rings=True,
stylize=False,
kwargs_frame_mesh=dict(showlegend=True, showscale=False, name='Framework', legendgroup='framework', legendgrouptitle_text='Framework'),
kwargs_mesh_for_atoms={},
kwargs_aromatic_rings={},
)Return Plotly Mesh3d traces for the framework and optional aromatic rings.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| ase_atoms | an ase.Atoms object | required | |
| show_rings | if True, will plotO the aromatic rings as well, defaults to True (optional) | True |
|
| stylize | if True, will apply some lighting and other effects to the mesh, defaults to False (optional) | False |
|
| kwargs_frame_mesh | keyword arguments for mesh_for_atoms | dict(showlegend=True, showscale=False, name='Framework', legendgroup='framework', legendgrouptitle_text='Framework') |
|
| kwargs_highlight | keyword arguments for plot_aromatic_rings | required |
Returns
| Name | Type | Description |
|---|---|---|
| A tuple of plotly traces. |