class_docstr: Tools for generating an example page from a file
class_docstr_tok: ["Tools","for","generating","an","example","page","from","a","file"]
code: def contents_entry(self):
      return (
          ".. figure:: ./{0}\n"
          "    :target: ./{1}\n"
          "    :align: center\n\n"
          "    :ref:`{2}`\n\n".format(
              self.pngfilename, self.htmlfilename, self.sphinxtag
          )
      )
  
imports: import sys
  import os
  import glob
  import token
  import tokenize
  import shutil
  import json
  import matplotlib
  import mpld3
  from matplotlib import image
  from matplotlib.figure import Figure
label_desc: Use image node_id 15 for calling the ExampleGenerator obj's underlying member method code with example usage: obj.contents_entry() and returns: str