class_docstr: Example Builder for sphinx documentation
code: def image_list(self, figlist):
      if len(figlist) == 0:
          imlist = ""
  
      elif len(figlist) == 1:
          imlist = (
              "\n"
              ".. image:: %s\n"
              "    :scale: 100\n"
              "    :align: center\n" % figlist[0]
          )
  
      else:
          imlist = "\n.. rst-class:: horizontal\n"
          for fig in figlist:
              imlist += (
                  "\n\n"
                  ".. image:: %s\n"
                  "    :align: center\n"
                  "    :scale: 100\n\n" % fig
              )
  
      return imlist
  
imports: import sys
  import os
  import traceback
  import token
  import tokenize
  import gc
  import shutil
  import glob
  import warnings
  import matplotlib
  from matplotlib import image
  from matplotlib import pyplot
label_desc: Use image node_id 13 for calling the ExampleBuilder obj's underlying member method code with example usage: obj.image_list(figlist) and returns: imlist