docstr: Parameters
  ----------
  visualization_data : VizDataAdapter
      From ScatterChart or a descendant
  width_in_pixels : int, optional
      width of viz in pixels, if None, default to 1000
  height_in_pixels : int, optional
      height of viz in pixels, if None, default to 600
  max_snippets : int, optional
      max snippets to snow when term is clicked, Defaults to show all
  color : str, optional
    d3 color scheme
  grey_zero_scores : bool, optional
    If True, color points with zero-scores a light shade of grey.  False by default.
  sort_by_dist : bool, optional
      sort by distance or score, default True
  reverse_sort_scores_for_not_category : bool, optional
      If using a custom score, score the not-category class by
      lowest-score-as-most-predictive. Turn this off for word vectory
      or topic similarity. Default True.
  use_full_doc : bool, optional
      use full document instead of sentence in snippeting
  use_non_text_features : bool, default False
      Show non-bag-of-words features (e.g., Empath) instaed of text.  False by default.
  show_characteristic: bool, default True
      Show characteristic terms on the far left-hand side of the visualization
  word_vec_use_p_vals: bool, default False
      Use category-associated p-values to determine which terms to give word
      vec scores.
  max_p_val : float, default = 0.1
      Max p-val to use find set of terms for similarity calculation, if
      word_vec_use_p_vals is True.
  save_svg_button : bool, default False
      Add a save as SVG button to the page.
  p_value_colors : bool, default False
    Color points differently if p val is above 1-max_p_val, below max_p_val, or
     in between.
  x_label : str, default None
      If present, use as the x-axis label
  y_label : str, default None
      If present, use as the y-axis label
  full_data : str, default None
      Data used to create chart. By default "getDataAndInfo()".
  show_top_terms : bool, default True
      Show the top terms sidebar
  show_neutral : bool, default False
      Show a third column for matches in neutral documents
  get_tooltip_content : str, default None
      Javascript function to control content of tooltip.  Function takes a parameter
      which is a dictionary entry produced by `ScatterChartExplorer.to_dict` and
      returns a string.
  x_axis_values : list, default None
      Numeric value-labels to show on x-axis which correspond to original x-values.
  y_axis_values : list, default None
      Numeric Value-labels to show on y-axis which correspond to original y-values.
  color_func : str, default None
      Javascript function to control color of a point.  Function takes a parameter
      which is a dictionary entry produced by `ScatterChartExplorer.to_dict` and
      returns a string.
  show_axes : bool, default True
      Show x and y axes
  horizontal_line_y_position : float, default None
      If x and y axes markers are shown, the position of the horizontal axis marker
  vertical_line_x_position : float, default None
      If x and y axes markers are shown, the position of the vertical axis marker
  show_extra : bool, default False
      Show extra fourth column
  do_censor_points  : bool, default True
      Don't label over dots
  center_label_over_points : bool, default False
      Only put labels centered over point
  x_axis_labels: list, default None
      List of string value-labels to show at evenly spaced intervals on the x-axis.
      Low, medium, high are defaults. This relies on d3's ticks function, which can
      behave unpredictable. Caveat usor.
  y_axis_labels : list, default None
      List of string value-labels to show at evenly spaced intervals on the y-axis.
      Low, medium, high are defaults.  This relies on d3's ticks function, which can
      behave unpredictable. Caveat usor.
  topic_model_preview_size : int, default 10
      If topic models are being visualized, show the first topic_model_preview_size topics
      in a preview.
  vertical_lines: list, default None
      List of scaled points along the x-axis to draw horizontal lines
  unified_context: bool, default False
      Display all context in a single column.
  show_category_headings: bool, default True
      If unified_context, should we show the category headings?
  highlight_selected_category: bool, default False
      Highlight selected category in unified view
  show_cross_axes: bool, default True
      If show_axes is False, do we show cross-axes?
  div_name: str, default DEFAULT_DIV_ID
      Div which holds scatterplot
  alternative_term_func: str, default None
      Javascript function which take a term JSON object and returns a bool.  If the return value is true,
      execute standard term click pipeline. Ex.: `'(function(termDict) {return true;})'`.
  include_all_contexts: bool, default False
      Include all contexts, even non-matching ones, in interface
  show_axes_and_cross_hairs: bool, default False
      Show both cross-axes and peripheral scales.
  x_axis_values_format: str, default None
      d3 format string for x-axis values (see https://github.com/d3/d3-format)
  y_axis_values_format: str, default None
      d3 format string for y-axis values (see https://github.com/d3/d3-format)
  max_overlapping: int, default -1
      Maximum number of overlapping terms to output.  Show all if -1 (default)
  show_corpus_stats: bool, default True
      Populate corpus stats div
  sort_doc_labels_by_name: bool, default False
      If unified document labels, sort the labels by name instead of value.
  always_jump: bool, default True
      Always jump to term contexts if a term is clicked.
  show_diagonal: bool, default False
      Show a diagonal line from the lower-left to the upper-right of the chart
  use_global_scale: bool, default False
      Use the same scaling for the x and y axis. Without this show_diagonal may not
      make sense.
  enable_term_category_description: bool, default True
      List term/metadata statistics under category
  get_custom_term_html: str, default None
      Javascript function which takes term info and outputs custom term HTML
  header_names: Dict[str, str], default None
      Dictionary giving names of term lists shown to the right of the plot. Valid keys are
      upper, lower and right.
  header_sorting_algos: Dict[str, str], default None
      Dictionary giving javascript sorting algorithms for panes. Valid keys are upper, lower
      and right. Value is a JS function which takes the "data" object.
  ignore_categories: bool, default False
      Signals plot should ignore category names.
  background_labels: List[Dict]: default None
      List of [{"Text": "Label", "X": xpos, "Y": ypos}, ...] to be background labels on plot
  label_priority_column : str, default None
      Column in term_metadata_df; larger values in the column indicate a term should be labeled first
  text_color_column: str, default None
      Column in term_metadata_df which supplies term colors
  suppress_text_column: str, default None
      Column in term_metadata_df which is of boolean value. Indicates if a term should be labeled.
  censor_point_column : str, default None
      Should we prevent labels from being drawn over a point?
  right_order_column : str, default None
      Order for right column ("characteristic" by default); largest first
  subword_encoding : str, default None
      Type of subword encoding to use, None if none, currently supports "RoBERTa"
  background_color: str, default None
      Color to set document.body's background
  sentence_piece: bool, default False
      Use sentence piece conventions from to search for terms in JS
  top_terms_length: int, default 14
      Number of top terms to show for left-hand side lists
  top_terms_lefft_buffer: int, default 0
      Number of pixels left to shift top terms list
  get_column_header_html : str, default None
      Javascript function to return html over each column. Matches header
      (Column Name, occurrences per 25k, occs, # occs * 1000/num docs, term info)
  term_word: str, default "Term"
      Word for term in visualization
  show_term_etc: bool, default True
      Shows contents of etc structure after clicking on term
  sort_contexts_by_meta : bool, default False
      Sort contexts by meta instead of match strength
  suppress_circles : bool, default False
      Label terms over circles and hide circles
  text_size_column : str, default None
      Font size of point column name. None of not exists
  category_colors : optional[dict], default None
      Dict mapping cateogry to #xxxxxx color
  show_chart : bool, default False
      Show line graph
docstr_tok: ["Parameters","--","--","--","--","--","visualization_data",":","VizDataAdapter","From","ScatterChart","or","a","descendant","width_in_pixels",":","int",",","optional","width","of","viz","in","pixels",",","if","None",",","default","to","1000","height_in_pixels",":","int",",","optional","height","of","viz","in","pixels",",","if","None",",","default","to","600","max_snippets",":","int",",","optional","max","snippets","to","snow","when","term","is","clicked",",","Defaults","to","show","all","color",":","str",",","optional","d3","color","scheme","grey_zero_scores",":","bool",",","optional","If","True",",","color","points","with","zero-scores","a","light","shade","of","grey",".","False","by","default",".","sort_by_dist",":","bool",",","optional","sort","by","distance","or","score",",","default","True","reverse_sort_scores_for_not_category",":","bool",",","optional","If","using","a","custom","score",",","score","the","not-category","class","by","lowest-score-as-most-predictive",".","Turn","this","off","for","word","vectory","or","topic","similarity",".","Default","True",".","use_full_doc",":","bool",",","optional","use","full","document","instead","of","sentence","in","snippeting","use_non_text_features",":","bool",",","default","False","Show","non-bag-of-words","features","(","e.g.",",","Empath",")","instaed","of","text",".","False","by","default",".","show_characteristic",":","bool",",","default","True","Show","characteristic","terms","on","the","far","left-hand","side","of","the","visualization","word_vec_use_p_vals",":","bool",",","default","False","Use","category-associated","p-values","to","determine","which","terms","to","give","word","vec","scores",".","max_p_val",":","float",",","default","=","0.1","Max","p-val","to","use","find","set","of","terms","for","similarity","calculation",",","if","word_vec_use_p_vals","is","True",".","save_svg_button",":","bool",",","default","False","Add","a","save","as","SVG","button","to","the","page",".","p_value_colors",":","bool",",","default","False","Color","points","differently","if","p","val","is","above","1-max_p_val",",","below","max_p_val",",","or","in","between",".","x_label",":","str",",","default","None","If","present",",","use","as","the","x-axis","label","y_label",":","str",",","default","None","If","present",",","use","as","the","y-axis","label","full_data",":","str",",","default","None","Data","used","to","create","chart",".","By","default","``","getDataAndInfo","(",")","''",".","show_top_terms",":","bool",",","default","True","Show","the","top","terms","sidebar","show_neutral",":","bool",",","default","False","Show","a","third","column","for","matches","in","neutral","documents","get_tooltip_content",":","str",",","default","None","Javascript","function","to","control","content","of","tooltip",".","Function","takes","a","parameter","which","is","a","dictionary","entry","produced","by","`","ScatterChartExplorer.to_dict","`","and","returns","a","string",".","x_axis_values",":","list",",","default","None","Numeric","value-labels","to","show","on","x-axis","which","correspond","to","original","x-values",".","y_axis_values",":","list",",","default","None","Numeric","Value-labels","to","show","on","y-axis","which","correspond","to","original","y-values",".","color_func",":","str",",","default","None","Javascript","function","to","control","color","of","a","point",".","Function","takes","a","parameter","which","is","a","dictionary","entry","produced","by","`","ScatterChartExplorer.to_dict","`","and","returns","a","string",".","show_axes",":","bool",",","default","True","Show","x","and","y","axes","horizontal_line_y_position",":","float",",","default","None","If","x","and","y","axes","markers","are","shown",",","the","position","of","the","horizontal","axis","marker","vertical_line_x_position",":","float",",","default","None","If","x","and","y","axes","markers","are","shown",",","the","position","of","the","vertical","axis","marker","show_extra",":","bool",",","default","False","Show","extra","fourth","column","do_censor_points",":","bool",",","default","True","Do","n't","label","over","dots","center_label_over_points",":","bool",",","default","False","Only","put","labels","centered","over","point","x_axis_labels",":","list",",","default","None","List","of","string","value-labels","to","show","at","evenly","spaced","intervals","on","the","x-axis",".","Low",",","medium",",","high","are","defaults",".","This","relies","on","d3","'s","ticks","function",",","which","can","behave","unpredictable",".","Caveat","usor",".","y_axis_labels",":","list",",","default","None","List","of","string","value-labels","to","show","at","evenly","spaced","intervals","on","the","y-axis",".","Low",",","medium",",","high","are","defaults",".","This","relies","on","d3","'s","ticks","function",",","which","can","behave","unpredictable",".","Caveat","usor",".","topic_model_preview_size",":","int",",","default","10","If","topic","models","are","being","visualized",",","show","the","first","topic_model_preview_size","topics","in","a","preview",".","vertical_lines",":","list",",","default","None","List","of","scaled","points","along","the","x-axis","to","draw","horizontal","lines","unified_context",":","bool",",","default","False","Display","all","context","in","a","single","column",".","show_category_headings",":","bool",",","default","True","If","unified_context",",","should","we","show","the","category","headings","?","highlight_selected_category",":","bool",",","default","False","Highlight","selected","category","in","unified","view","show_cross_axes",":","bool",",","default","True","If","show_axes","is","False",",","do","we","show","cross-axes","?","div_name",":","str",",","default","DEFAULT_DIV_ID","Div","which","holds","scatterplot","alternative_term_func",":","str",",","default","None","Javascript","function","which","take","a","term","JSON","object","and","returns","a","bool",".","If","the","return","value","is","true",",","execute","standard","term","click","pipeline",".","Ex",".",":","`","'","(","function","(","termDict",")","{","return","true",";","}",")","'","`",".","include_all_contexts",":","bool",",","default","False","Include","all","contexts",",","even","non-matching","ones",",","in","interface","show_axes_and_cross_hairs",":","bool",",","default","False","Show","both","cross-axes","and","peripheral","scales",".","x_axis_values_format",":","str",",","default","None","d3","format","string","for","x-axis","values","(","see","https",":","\/\/github.com\/d3\/d3-format",")","y_axis_values_format",":","str",",","default","None","d3","format","string","for","y-axis","values","(","see","https",":","\/\/github.com\/d3\/d3-format",")","max_overlapping",":","int",",","default","-1","Maximum","number","of","overlapping","terms","to","output",".","Show","all","if","-1","(","default",")","show_corpus_stats",":","bool",",","default","True","Populate","corpus","stats","div","sort_doc_labels_by_name",":","bool",",","default","False","If","unified","document","labels",",","sort","the","labels","by","name","instead","of","value",".","always_jump",":","bool",",","default","True","Always","jump","to","term","contexts","if","a","term","is","clicked",".","show_diagonal",":","bool",",","default","False","Show","a","diagonal","line","from","the","lower-left","to","the","upper-right","of","the","chart","use_global_scale",":","bool",",","default","False","Use","the","same","scaling","for","the","x","and","y","axis",".","Without","this","show_diagonal","may","not","make","sense",".","enable_term_category_description",":","bool",",","default","True","List","term\/metadata","statistics","under","category","get_custom_term_html",":","str",",","default","None","Javascript","function","which","takes","term","info","and","outputs","custom","term","HTML","header_names",":","Dict","[","str",",","str","]",",","default","None","Dictionary","giving","names","of","term","lists","shown","to","the","right","of","the","plot",".","Valid","keys","are","upper",",","lower","and","right",".","header_sorting_algos",":","Dict","[","str",",","str","]",",","default","None","Dictionary","giving","javascript","sorting","algorithms","for","panes",".","Valid","keys","are","upper",",","lower","and","right",".","Value","is","a","JS","function","which","takes","the","``","data","''","object",".","ignore_categories",":","bool",",","default","False","Signals","plot","should","ignore","category","names",".","background_labels",":","List","[","Dict","]",":","default","None","List","of","[","{","``","Text","''",":","``","Label","''",",","``","X","''",":","xpos",",","``","Y","''",":","ypos","}",",","...","]","to","be","background","labels","on","plot","label_priority_column",":","str",",","default","None","Column","in","term_metadata_df",";","larger","values","in","the","column","indicate","a","term","should","be","labeled","first","text_color_column",":","str",",","default","None","Column","in","term_metadata_df","which","supplies","term","colors","suppress_text_column",":","str",",","default","None","Column","in","term_metadata_df","which","is","of","boolean","value",".","Indicates","if","a","term","should","be","labeled",".","censor_point_column",":","str",",","default","None","Should","we","prevent","labels","from","being","drawn","over","a","point","?","right_order_column",":","str",",","default","None","Order","for","right","column","(","``","characteristic","''","by","default",")",";","largest","first","subword_encoding",":","str",",","default","None","Type","of","subword","encoding","to","use",",","None","if","none",",","currently","supports","``","RoBERTa","''","background_color",":","str",",","default","None","Color","to","set","document.body","'s","background","sentence_piece",":","bool",",","default","False","Use","sentence","piece","conventions","from","to","search","for","terms","in","JS","top_terms_length",":","int",",","default","14","Number","of","top","terms","to","show","for","left-hand","side","lists","top_terms_lefft_buffer",":","int",",","default","0","Number","of","pixels","left","to","shift","top","terms","list","get_column_header_html",":","str",",","default","None","Javascript","function","to","return","html","over","each","column",".","Matches","header","(","Column","Name",",","occurrences","per","25k",",","occs",",","#","occs","*","1000\/num","docs",",","term","info",")","term_word",":","str",",","default","``","Term","''","Word","for","term","in","visualization","show_term_etc",":","bool",",","default","True","Shows","contents","of","etc","structure","after","clicking","on","term","sort_contexts_by_meta",":","bool",",","default","False","Sort","contexts","by","meta","instead","of","match","strength","suppress_circles",":","bool",",","default","False","Label","terms","over","circles","and","hide","circles","text_size_column",":","str",",","default","None","Font","size","of","point","column","name",".","None","of","not","exists","category_colors",":","optional","[","dict","]",",","default","None","Dict","mapping","cateogry","to","#","xxxxxx","color","show_chart",":","bool",",","default","False","Show","line","graph"]
code: def __init__(
      self,
      visualization_data,
      width_in_pixels=None,
      height_in_pixels=None,
      max_snippets=None,
      color=None,
      grey_zero_scores=False,
      sort_by_dist=True,
      reverse_sort_scores_for_not_category=True,
      use_full_doc=False,
      asian_mode=False,
      match_full_line=False,
      use_non_text_features=False,
      show_characteristic=True,
      word_vec_use_p_vals=False,
      max_p_val=0.1,
      save_svg_button=False,
      p_value_colors=False,
      x_label=None,
      y_label=None,
      full_data=None,
      show_top_terms=True,
      show_neutral=False,
      get_tooltip_content=None,
      x_axis_values=None,
      y_axis_values=None,
      color_func=None,
      show_axes=True,
      horizontal_line_y_position=None,
      vertical_line_x_position=None,
      show_extra=False,
      do_censor_points=True,
      center_label_over_points=False,
      x_axis_labels=None,
      y_axis_labels=None,
      topic_model_preview_size=10,
      vertical_lines=None,
      unified_context=False,
      show_category_headings=True,
      highlight_selected_category=False,
      show_cross_axes=True,
      div_name=DEFAULT_DIV_ID,
      alternative_term_func=None,
      include_all_contexts=False,
      show_axes_and_cross_hairs=False,
      x_axis_values_format=None,
      y_axis_values_format=None,
      max_overlapping=-1,
      show_corpus_stats=True,
      sort_doc_labels_by_name=False,
      always_jump=True,
      show_diagonal=False,
      enable_term_category_description=True,
      use_global_scale=False,
      get_custom_term_html=None,
      header_names=None,
      header_sorting_algos=None,
      ignore_categories=False,
      background_labels=None,
      label_priority_column=None,
      text_color_column=None,
      suppress_text_column=None,
      censor_point_column=None,
      background_color=None,
      right_order_column=None,
      subword_encoding=None,
      top_terms_length=14,
      top_terms_left_buffer=0,
      get_column_header_html=None,
      term_word="Term",
      show_term_etc=True,
      sort_contexts_by_meta=False,
      suppress_circles=False,
      text_size_column=None,
      category_colors=None,
      show_chart=False,
  ):
      """
  
      Parameters
      ----------
      visualization_data : VizDataAdapter
          From ScatterChart or a descendant
      width_in_pixels : int, optional
          width of viz in pixels, if None, default to 1000
      height_in_pixels : int, optional
          height of viz in pixels, if None, default to 600
      max_snippets : int, optional
          max snippets to snow when term is clicked, Defaults to show all
      color : str, optional
        d3 color scheme
      grey_zero_scores : bool, optional
        If True, color points with zero-scores a light shade of grey.  False by default.
      sort_by_dist : bool, optional
          sort by distance or score, default True
      reverse_sort_scores_for_not_category : bool, optional
          If using a custom score, score the not-category class by
          lowest-score-as-most-predictive. Turn this off for word vectory
          or topic similarity. Default True.
      use_full_doc : bool, optional
          use full document instead of sentence in snippeting
      use_non_text_features : bool, default False
          Show non-bag-of-words features (e.g., Empath) instaed of text.  False by default.
      show_characteristic: bool, default True
          Show characteristic terms on the far left-hand side of the visualization
      word_vec_use_p_vals: bool, default False
          Use category-associated p-values to determine which terms to give word
          vec scores.
      max_p_val : float, default = 0.1
          Max p-val to use find set of terms for similarity calculation, if
          word_vec_use_p_vals is True.
      save_svg_button : bool, default False
          Add a save as SVG button to the page.
      p_value_colors : bool, default False
        Color points differently if p val is above 1-max_p_val, below max_p_val, or
         in between.
      x_label : str, default None
          If present, use as the x-axis label
      y_label : str, default None
          If present, use as the y-axis label
      full_data : str, default None
          Data used to create chart. By default "getDataAndInfo()".
      show_top_terms : bool, default True
          Show the top terms sidebar
      show_neutral : bool, default False
          Show a third column for matches in neutral documents
      get_tooltip_content : str, default None
          Javascript function to control content of tooltip.  Function takes a parameter
          which is a dictionary entry produced by `ScatterChartExplorer.to_dict` and
          returns a string.
      x_axis_values : list, default None
          Numeric value-labels to show on x-axis which correspond to original x-values.
      y_axis_values : list, default None
          Numeric Value-labels to show on y-axis which correspond to original y-values.
      color_func : str, default None
          Javascript function to control color of a point.  Function takes a parameter
          which is a dictionary entry produced by `ScatterChartExplorer.to_dict` and
          returns a string.
      show_axes : bool, default True
          Show x and y axes
      horizontal_line_y_position : float, default None
          If x and y axes markers are shown, the position of the horizontal axis marker
      vertical_line_x_position : float, default None
          If x and y axes markers are shown, the position of the vertical axis marker
      show_extra : bool, default False
          Show extra fourth column
      do_censor_points  : bool, default True
          Don't label over dots
      center_label_over_points : bool, default False
          Only put labels centered over point
      x_axis_labels: list, default None
          List of string value-labels to show at evenly spaced intervals on the x-axis.
          Low, medium, high are defaults. This relies on d3's ticks function, which can
          behave unpredictable. Caveat usor.
      y_axis_labels : list, default None
          List of string value-labels to show at evenly spaced intervals on the y-axis.
          Low, medium, high are defaults.  This relies on d3's ticks function, which can
          behave unpredictable. Caveat usor.
      topic_model_preview_size : int, default 10
          If topic models are being visualized, show the first topic_model_preview_size topics
          in a preview.
      vertical_lines: list, default None
          List of scaled points along the x-axis to draw horizontal lines
      unified_context: bool, default False
          Display all context in a single column.
      show_category_headings: bool, default True
          If unified_context, should we show the category headings?
      highlight_selected_category: bool, default False
          Highlight selected category in unified view
      show_cross_axes: bool, default True
          If show_axes is False, do we show cross-axes?
      div_name: str, default DEFAULT_DIV_ID
          Div which holds scatterplot
      alternative_term_func: str, default None
          Javascript function which take a term JSON object and returns a bool.  If the return value is true,
          execute standard term click pipeline. Ex.: `'(function(termDict) {return true;})'`.
      include_all_contexts: bool, default False
          Include all contexts, even non-matching ones, in interface
      show_axes_and_cross_hairs: bool, default False
          Show both cross-axes and peripheral scales.
      x_axis_values_format: str, default None
          d3 format string for x-axis values (see https://github.com/d3/d3-format)
      y_axis_values_format: str, default None
          d3 format string for y-axis values (see https://github.com/d3/d3-format)
      max_overlapping: int, default -1
          Maximum number of overlapping terms to output.  Show all if -1 (default)
      show_corpus_stats: bool, default True
          Populate corpus stats div
      sort_doc_labels_by_name: bool, default False
          If unified document labels, sort the labels by name instead of value.
      always_jump: bool, default True
          Always jump to term contexts if a term is clicked.
      show_diagonal: bool, default False
          Show a diagonal line from the lower-left to the upper-right of the chart
      use_global_scale: bool, default False
          Use the same scaling for the x and y axis. Without this show_diagonal may not
          make sense.
      enable_term_category_description: bool, default True
          List term/metadata statistics under category
      get_custom_term_html: str, default None
          Javascript function which takes term info and outputs custom term HTML
      header_names: Dict[str, str], default None
          Dictionary giving names of term lists shown to the right of the plot. Valid keys are
          upper, lower and right.
      header_sorting_algos: Dict[str, str], default None
          Dictionary giving javascript sorting algorithms for panes. Valid keys are upper, lower
          and right. Value is a JS function which takes the "data" object.
      ignore_categories: bool, default False
          Signals plot should ignore category names.
      background_labels: List[Dict]: default None
          List of [{"Text": "Label", "X": xpos, "Y": ypos}, ...] to be background labels on plot
      label_priority_column : str, default None
          Column in term_metadata_df; larger values in the column indicate a term should be labeled first
      text_color_column: str, default None
          Column in term_metadata_df which supplies term colors
      suppress_text_column: str, default None
          Column in term_metadata_df which is of boolean value. Indicates if a term should be labeled.
      censor_point_column : str, default None
          Should we prevent labels from being drawn over a point?
      right_order_column : str, default None
          Order for right column ("characteristic" by default); largest first
      subword_encoding : str, default None
          Type of subword encoding to use, None if none, currently supports "RoBERTa"
      background_color: str, default None
          Color to set document.body's background
      sentence_piece: bool, default False
          Use sentence piece conventions from to search for terms in JS
      top_terms_length: int, default 14
          Number of top terms to show for left-hand side lists
      top_terms_lefft_buffer: int, default 0
          Number of pixels left to shift top terms list
      get_column_header_html : str, default None
          Javascript function to return html over each column. Matches header
          (Column Name, occurrences per 25k, occs, # occs * 1000/num docs, term info)
      term_word: str, default "Term"
          Word for term in visualization
      show_term_etc: bool, default True
          Shows contents of etc structure after clicking on term
      sort_contexts_by_meta : bool, default False
          Sort contexts by meta instead of match strength
      suppress_circles : bool, default False
          Label terms over circles and hide circles
      text_size_column : str, default None
          Font size of point column name. None of not exists
      category_colors : optional[dict], default None
          Dict mapping cateogry to #xxxxxx color
      show_chart : bool, default False
          Show line graph
      """
      self._visualization_data = visualization_data
      self._width_in_pixels = (
          width_in_pixels if width_in_pixels is not None else 1000
      )
      self._height_in_pixels = (
          height_in_pixels if height_in_pixels is not None else 600
      )
      self._max_snippets = max_snippets
      self._color = color
      self._sort_by_dist = sort_by_dist
      self._use_full_doc = use_full_doc
      self._asian_mode = asian_mode
      self._match_full_line = match_full_line
      self._grey_zero_scores = grey_zero_scores
      self._use_non_text_features = use_non_text_features
      self._show_characteristic = show_characteristic
      self._word_vec_use_p_vals = word_vec_use_p_vals
      self._max_p_val = max_p_val
      self._save_svg_button = save_svg_button
      self._reverse_sort_scores_for_not_category = (
          reverse_sort_scores_for_not_category
      )
      self._p_value_colors = p_value_colors
      self._x_label = x_label
      self._y_label = y_label
      self._full_data = full_data
      self._show_top_terms = show_top_terms
      self._show_neutral = show_neutral
      self._get_tooltip_content = get_tooltip_content
      self._x_axis_values = x_axis_values
      self._y_axis_values = y_axis_values
      self._x_axis_labels = x_axis_labels
      self._y_axis_labels = y_axis_labels
      self._color_func = color_func
      self._show_axes = show_axes
      self._horizontal_line_y_position = horizontal_line_y_position
      self._vertical_line_x_position = vertical_line_x_position
      self._show_extra = show_extra
      self._do_censor_points = do_censor_points
      self._center_label_over_points = center_label_over_points
      self._topic_model_preview_size = topic_model_preview_size
      self._vertical_lines = vertical_lines
      self._unified_context = unified_context
      self._show_category_headings = show_category_headings
      self._highlight_selected_category = highlight_selected_category
      self._show_cross_axes = show_cross_axes
      self._div_name = div_name
      self._alternative_term_func = alternative_term_func
      self._include_all_contexts = include_all_contexts
      self._show_axes_and_cross_hairs = show_axes_and_cross_hairs
      self._x_axis_values_format = x_axis_values_format
      self._y_axis_values_format = y_axis_values_format
      self._max_overlapping = max_overlapping
      self._show_corpus_stats = show_corpus_stats
      self._sort_doc_labels_by_name = sort_doc_labels_by_name
      self._always_jump = always_jump
      self._show_diagonal = show_diagonal
      self._use_global_scale = use_global_scale
      self._enable_term_category_description = (
          enable_term_category_description
      )
      self._get_custom_term_html = get_custom_term_html
      self._header_names = header_names
      self._header_sorting_algos = header_sorting_algos
      self._ignore_categories = ignore_categories
      self._background_labels = background_labels
      self._label_priority_column = label_priority_column
      self._text_color_column = text_color_column
      self._suppress_label_column = suppress_text_column
      self._censor_point_column = censor_point_column
      self._right_order_column = right_order_column
      self._background_color = background_color
      self._subword_encoding = subword_encoding
      self._top_terms_length = top_terms_length
      self._top_terms_left_buffer = top_terms_left_buffer
      self._get_column_header_html = get_column_header_html
      self._term_word = term_word
      self._show_term_etc = show_term_etc
      self._sort_contexts_by_meta = sort_contexts_by_meta
      self._suppress_circles = suppress_circles
      self._text_size_column = text_size_column
      self._category_colors = category_colors
      self._show_chart = show_chart
  
file_path: scattertext/scattertext/viz/ScatterplotStructure.py
imports: import json
  from scattertext.Common import DEFAULT_DIV_ID, DEFAULT_D3_AXIS_VALUE_FORMAT
label_desc: Use image node_id 1 to create a new ScatterplotStructure object from inherited base classes: object with example: obj = ScatterplotStructure(visualization_data, width_in_pixels, height_in_pixels, max_snippets, color, grey_zero_scores, sort_by_dist, reverse_sort_scores_for_not_category, use_full_doc, asian_mode, match_full_line, use_non_text_features, show_characteristic, word_vec_use_p_vals, max_p_val, save_svg_button, p_value_colors, x_label, y_label, full_data, show_top_terms, show_neutral, get_tooltip_content, x_axis_values, y_axis_values, color_func, show_axes, horizontal_line_y_position, vertical_line_x_position, show_extra, do_censor_points, center_label_over_points, x_axis_labels, y_axis_labels, topic_model_preview_size, vertical_lines, unified_context, show_category_headings, highlight_selected_category, show_cross_axes, div_name, alternative_term_func, include_all_contexts, show_axes_and_cross_hairs, x_axis_values_format, y_axis_values_format, max_overlapping, show_corpus_stats, sort_doc_labels_by_name, always_jump, show_diagonal, enable_term_category_description, use_global_scale, get_custom_term_html, header_names, header_sorting_algos, ignore_categories, background_labels, label_priority_column, text_color_column, suppress_text_column, censor_point_column, background_color, right_order_column, subword_encoding, top_terms_length, top_terms_left_buffer, get_column_header_html, term_word, show_term_etc, sort_contexts_by_meta, suppress_circles, text_size_column, category_colors, show_chart)