xrview.notebook.NotebookViewer.add_interaction

NotebookViewer.add_interaction(interaction)

Add an interaction to the layout.

Parameters
interactionxrview.interactions.BaseInteraction

The interaction to add.