code: def _verify_coordinates(self, coords, name):
      if self.scatterchartdata.use_non_text_features and len(
          coords
      ) != len(self.term_doc_matrix.get_metadata()):
          raise CoordinatesNotRightException(
              "Length of %s_coords must be the same as the number "
              "of non-text features in the term_doc_matrix." % (name)
          )
      if (
          not self.scatterchartdata.use_non_text_features
          and len(coords) != self.term_doc_matrix.get_num_terms()
      ):
          raise CoordinatesNotRightException(
              "Length of %s_coords must be the same as the number "
              "of terms in the term_doc_matrix." % (name)
          )
      if max(coords) > 1:
          raise CoordinatesNotRightException(
              "Max value of %s_coords must be <= 1." % (name)
          )
      if min(coords) < 0:
          raise CoordinatesNotRightException(
              "Min value of %s_coords must be >= 0." % (name)
          )
  
imports: import logging
  import sys
  import numpy
  import pandas
  from scipy.stats import rankdata
  from scattertext.PValGetter import get_p_vals
  from scattertext.Scalers import percentile_min, percentile_alphabetical
  from scattertext.ScatterChartData import ScatterChartData
  from scattertext.TermDocMatrixFilter import filter_bigrams_by_pmis, filter_out_unigrams_that_only_occur_in_one_bigram
  from scattertext.termscoring import ScaledFScore
  from scattertext.termscoring.RankDifference import RankDifference
  from scattertext.termscoring.CornerScore import CornerScore
label_desc: Use image node_id 6 for calling the ScatterChart obj's underlying member method code with example usage: obj._verify_coordinates(coords, name) without return types