rdtools.view.interact#
Interactive viewer for conformers using ipywidgets.
This viewer requires ipywidgets to be installed and is designed to work in Jupyter notebooks.
- rdtools.view.interact.interactive_conformer_viewer(mol: Mol, **kwargs: Any) Any #
View individual conformers using an ipython slider widget.
- Parameters:
mol (Chem.Mol) – An Mol object with embedded conformers.
**kwargs (Any) – Additional keyword arguments to be passed to the viewer.
- Returns:
interactive – The molecule viewer with slider to view different conformers.
- Raises:
ImportError – If ipywidgets is not installed.