class_docstr: Display an embedding gui for interaction and selection.
  In addition show the number of landmarks selected and give the
  user the chance to start a new analysis
class_docstr_tok: ["Display","an","embedding","gui","for","interaction","and","selection",".","In","addition","show","the","number","of","landmarks","selected","and","give","the","user","the","chance","to","start","a","new","analysis"]
docstr: Set a selectio from an outside source
  
  Args:
      index_array (nd.array): The index_array is a numpy array of indexes
docstr_tok: ["Set","a","selectio","from","an","outside","source","Args",":","index_array","(","nd.array",")",":","The","index_array","is","a","numpy","array","of","indexes"]
code: def set_selection(self, index_array):
      """Set a selectio from an outside source
  
      Args:
          index_array (nd.array): The index_array is a numpy array of indexes
      """
      self.plot_widget.set_selection(index_array)
  
imports: import io
  from enum import Enum
  import numpy
  import matplotlib.pyplot
  import matplotlib.style
  from matplotlib.widgets import RectangleSelector, LassoSelector, EllipseSelector, PolygonSelector
  from matplotlib.path import Path
  from matplotlib.backends.backend_qt5agg import FigureCanvas
  from matplotlib.figure import Figure
  from PyQt5 import QtWidgets, QtCore
  from cursors import DrawingCursors, DrawingShape, DrawingMode
label_desc: Use image node_id 4 for calling the EmbeddingViewer obj's underlying member method code with example usage: obj.set_selection(index_array) without return types