code: def _get_coordinates_from_transform_and_jitter_frequencies(
      self, category, df, other_categories, transform
  ):
      not_counts = df[[str(c) + " freq" for c in other_categories]].sum(
          axis=1
      )
      counts = df[str(category) + " freq"]
      x_data_raw = transform(not_counts, df.index, counts)
      y_data_raw = transform(counts, df.index, not_counts)
      x_data = self._add_jitter(x_data_raw)
      y_data = self._add_jitter(y_data_raw)
      return x_data, y_data
  
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 16 for calling the ScatterChart obj's underlying member method code with example usage: obj._get_coordinates_from_transform_and_jitter_frequencies(category, df, other_categories, transform) and returns: x_data,  y_data