code: def __init__(
      self,
      corpus,
      num_rows=10,
      non_text=False,
      category_order=None,
      all_category_scorer_factory: Optional[
          Callable[[TermDocMatrix], AllCategoryScorer]
      ] = None,
      min_font_size=7,
      max_font_size=20,
  ):
      self.num_rows = num_rows
      self.corpus = corpus
      self.use_metadata = non_text
      self.all_category_scorer_ = self._get_all_category_scorer(
          all_category_scorer_factory, corpus, non_text
      )
      self.rank_df = self._get_term_category_associations()
      self.category_order_ = [
          str(x)
          for x in (
              sorted(self.corpus.get_categories())
              if category_order is None
              else category_order
          )
      ]
      self.min_font_size = min_font_size
      self.max_font_size = max_font_size
  
file_path: scattertext/scattertext/categorytable/category_table_maker.py
imports: import json
  import types
  from _bisect import bisect_left
  from typing import Optional, Union, Callable
  import numpy
  import pandas
  from scattertext.TermDocMatrix import TermDocMatrix
  from scattertext.all_category_scorers.gmean_l2_freq_associator import AllCategoryScorerGMeanL2
  from scattertext.all_category_scorers.all_category_scorer import AllCategoryScorer
  from scattertext.graphs.ComponentDiGraphHTMLRenderer import GraphRenderer
  from scattertext.viz.HTMLSemioticSquareViz import ClickableTerms
label_desc: Use image node_id 1 to create a new CategoryTableMaker object from inherited base classes: GraphRenderer with example: obj = CategoryTableMaker(corpus, num_rows, non_text, category_order, all_category_scorer_factory, min_font_size, max_font_size)