code: def to_dict_without_categories(self):
      if (
          self.y_coords is None
          or self.x_coords is None
          or self.original_x is None
          or self.original_y is None
      ):
          raise NeedToInjectCoordinatesException(
              "This function requires you run inject_coordinates."
          )
      return {
          "data": self._add_x_and_y_coords_to_term_df_if_injected(
              self.term_doc_matrix.get_term_count_df()
              .rename(columns={"corpus": "cat"})
              .assign(
                  cat25k=lambda df: (
                      ((df["cat"] * 1.0 / df["cat"].sum()) * 25000)
                      .apply(np.round)
                      .astype(int)
                  )
              )
          )
          .reset_index()
          .sort_values(by=["x", "y", "term"])
          .to_dict(orient="records")
      }
  
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 25 for calling the ScatterChart obj's underlying member method code with example usage: obj.to_dict_without_categories() and returns: dict