code: def test_hide_terms(self):
      corpus = build_hamlet_jz_corpus().get_unigram_corpus()
      terms_to_hide = ["thou", "heaven"]
      sc = ScatterChartExplorer(
          corpus, minimum_term_frequency=0
      ).hide_terms(terms_to_hide)
      self.assertEquals(type(sc), ScatterChartExplorer)
      j = sc.to_dict("hamlet", include_term_category_counts=True)
      self.assertTrue(
          all(
              [
                  "display" in t and t["display"] == False
                  for t in j["data"]
                  if t["term"] in terms_to_hide
              ]
          )
      )
      self.assertTrue(
          all(
              [
                  "display" not in t
                  for t in j["data"]
                  if t["term"] not in terms_to_hide
              ]
          )
      )
  
file_path: scattertext/scattertext/test/test_scatterChartExplorer.py
imports: import random
  from unittest import TestCase
  import numpy
  from scattertext.ScatterChartExplorer import ScatterChartExplorer
  from scattertext.test.test_semioticSquare import get_test_corpus
  from scattertext.test.test_termDocMatrixFactory import build_hamlet_jz_corpus, build_hamlet_jz_corpus_with_meta, build_hamlet_jz_corpus_with_alt_text
label_desc: Use image node_id 2 for calling the TestScatterChartExplorer obj's underlying member method code with example usage: obj.test_hide_terms() without return types