docstr: Inject custom x and y coordinates for each term into chart.
  
  Parameters
  ----------
  x_coords: array-like
      positions on x-axis \in [0,1]
  y_coords: array-like
      positions on y-axis \in [0,1]
  rescale_x: lambda list[0,1]: list[0,1], default identity
      Rescales x-axis after filtering
  rescale_y: lambda list[0,1]: list[0,1], default identity
      Rescales y-axis after filtering
  original_x : array-like, optional
      Original, unscaled x-values.  Defaults to x_coords
  original_y : array-like, optional
      Original, unscaled y-values.  Defaults to y_coords
  Returns
  -------
  self: ScatterChart
docstr_tok: ["Inject","custom","x","and","y","coordinates","for","each","term","into","chart",".","Parameters","--","--","--","--","--","x_coords",":","array-like","positions","on","x-axis","\\in","[","0,1","]","y_coords",":","array-like","positions","on","y-axis","\\in","[","0,1","]","rescale_x",":","lambda","list","[","0,1","]",":","list","[","0,1","]",",","default","identity","Rescales","x-axis","after","filtering","rescale_y",":","lambda","list","[","0,1","]",":","list","[","0,1","]",",","default","identity","Rescales","y-axis","after","filtering","original_x",":","array-like",",","optional","Original",",","unscaled","x-values",".","Defaults","to","x_coords","original_y",":","array-like",",","optional","Original",",","unscaled","y-values",".","Defaults","to","y_coords","Returns","--","--","--","-","self",":","ScatterChart"]
code: def inject_coordinates(
      self,
      x_coords,
      y_coords,
      rescale_x=None,
      rescale_y=None,
      original_x=None,
      original_y=None,
  ):
      r"""
      Inject custom x and y coordinates for each term into chart.
  
      Parameters
      ----------
      x_coords: array-like
          positions on x-axis \in [0,1]
      y_coords: array-like
          positions on y-axis \in [0,1]
      rescale_x: lambda list[0,1]: list[0,1], default identity
          Rescales x-axis after filtering
      rescale_y: lambda list[0,1]: list[0,1], default identity
          Rescales y-axis after filtering
      original_x : array-like, optional
          Original, unscaled x-values.  Defaults to x_coords
      original_y : array-like, optional
          Original, unscaled y-values.  Defaults to y_coords
      Returns
      -------
      self: ScatterChart
  
      """
      self._verify_coordinates(x_coords, "x")
      self._verify_coordinates(y_coords, "y")
      self.x_coords = x_coords
      self.y_coords = y_coords
      self._rescale_x = rescale_x
      self._rescale_y = rescale_y
      self.original_x = x_coords if original_x is None else original_x
      self.original_y = y_coords if original_y is None else original_y
  
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 5 for calling the ScatterChart obj's underlying member method code with example usage: obj.inject_coordinates(x_coords, y_coords, rescale_x, rescale_y, original_x, original_y) without return types