code: def closeEvent(self, event: QtGui.QCloseEvent) -> None:
      self.temp_file.close()
      os.unlink(self.temp_file.name)
      super().closeEvent(event)
  
file_path: PandasGUI/pandasgui/widgets/figure_viewer.py
imports: import os
  import sys
  import tempfile
  from PyQt5 import QtCore, QtGui, QtWidgets, sip
  from PyQt5.QtCore import Qt
  import PyQt5
  import logging
  from pandasgui.store import PandasGuiStoreItem
  from pandasgui.utility import get_figure_type
label_desc: Use image node_id 3 for calling the FigureViewer obj's underlying member method code with example usage: obj.closeEvent(event) without return types