RAIMAD

raimad.show

def show(compo: 'rai.typing.CompoLike', ignore_running: bool = False) -> None:

Export component and show it to the user.
If running inside a jupyter notebook, this will render the component to SVG. If running normally, this will try to open a CIF viewer.
Parameters
compo
The component instance to show
ignore_running
If true, export component and open cif viewer regardless of whether or not it's already running. If false, only export component if the cif viewer is already running.
Raises
NotImplementedError
if RAIMAD cannot figure out how to show you the component.