code: def draw_figs(FIGS):
      
      is_win = True if sys.platform in ['win32', 'win64'] else False
      if not is_win:
          plt.ion()
          for fig in list(FIGS.keys()):
              plt.draw()
              plt.show()
          plt.ioff()
      if is_win:
          # this style basically works for Windows
          plt.draw()
          print("You must manually close all plots to continue")
          plt.show()
docs: Can only be used if matplotlib backend is set to TKAgg
      Does not play well with wxPython
      Parameters
      _________
      FIGS : dictionary of figure names as keys and numbers as values