class_docstr: An object that collects relevant information about viewing Python code
  with visual annotations.
class_docstr_tok: ["An","object","that","collects","relevant","information","about","viewing","Python","code","with","visual","annotations","."]
docstr: Display an SVG in a notebook or pop up a window if not in notebook
code: def show(self):
      "Display an SVG in a notebook or pop up a window if not in notebook"
      if get_ipython() is None:
          svgfilename = tempfile.mktemp(suffix=".svg")
          self.savefig(svgfilename)
          self.filename = svgfilename
          plt.show()
      else:
          svg = self.svg()
          display(SVG(svg))
      plt.close()
  
imports: import sys
  import os
  from pathlib import Path
  import tempfile
  import graphviz
  import graphviz.backend
  import token
  import matplotlib.patches
  import matplotlib.pyplot
  import matplotlib.colors
  from IPython.display import display, SVG
  from IPython import get_ipython
  import numpy
  import tsensor
  import tsensor.ast
  import tsensor.analysis
  import tsensor.parsing
label_desc: Use image node_id 7 for calling the PyVizView obj's underlying member method code with example usage: obj.show() without return types