code: def _reset_seaborn(gallery_conf, fname):
      
      # 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]
docs: Reset seaborn.