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: Start a new analysis bases on the selected indexes in this embedding.
docstr_tok: ["Start","a","new","analysis","bases","on","the","selected","indexes","in","this","embedding","."]
code: def on_new_analysis(self):
      """Start a new analysis bases on the selected indexes in this embedding."""
      if len(self.selection_list) > 0:
          self.on_selection_callback(self.selection_list, True)
      else:
          QtWidgets.QMessageBox.warning(
              self,
              "Warning",
              "Select some landscape points first to create a new analysis.",
          )
  
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 6 for calling the EmbeddingViewer obj's underlying member method code with example usage: obj.on_new_analysis() without return types