code: def clean_modules():
      """Remove "unload" seaborn from the name space
  
      After a script is executed it can load a variety of setting that one
      does not want to influence in other examples in the gallery."""
  
      # Horrible code to 'unload' seaborn, so that it resets
      # its default when is load
      # Python does not support unloading of modules
      # https://bugs.python.org/issue9072
      for module in list(sys.modules.keys()):
          if "seaborn" in module:
              del sys.modules[module]
  
      # Reset Matplotlib to default
      plt.rcdefaults()
  
imports: from __future__ import division, print_function, absolute_import
  from time import time
  import ast
  import codecs
  import hashlib
  import os
  import re
  import shutil
  import subprocess
  import sys
  import traceback
  from distutils.version import LooseVersion
  from io import StringIO
  import matplotlib
  import matplotlib.pyplot
  import sphinx
  from .None import glr_path_static
  from .None import sphinx_compatibility
  from .backreferences import write_backreferences, _thumbnail_div
  from .downloads import CODE_DOWNLOAD
  from .py_source_parser import split_code_and_text_blocks
  from .notebook import jupyter_notebook, save_notebook
label_desc: Use image node_id 12 for calling a global function with example usage: clean_modules() without return types