docstr: :param metadata: dict, maps terms to a dictionary which will be added to term's json structure
  :return: ScatterChartExplorer
docstr_tok: [":","param","metadata",":","dict",",","maps","terms","to","a","dictionary","which","will","be","added","to","term","'s","json","structure",":","return",":","ScatterChartExplorer"]
code: def inject_term_metadata(self, metadata):
      """
  
      :param metadata: dict, maps terms to a dictionary which will be added to term's json structure
      :return: ScatterChartExplorer
      """
      self._term_metadata = metadata
      return self
  
file_path: scattertext/scattertext/ScatterChartExplorer.py
imports: import logging
  import numpy
  import pandas
  from scattertext.ScatterChart import ScatterChart
  from scattertext.Scalers import percentile_alphabetical
  from scattertext.DocsAndLabelsFromCorpus import DocsAndLabelsFromCorpus, DocsAndLabelsFromCorpusSample
label_desc: Use image node_id 7 for calling the ScatterChartExplorer obj's underlying member method code with example usage: obj.inject_term_metadata(metadata) and returns: self