code: def refresh_axis():
      global showAxis
  
      # reset the error label's text
      if lblError["text"] == "Error":
          lblError["text"] = ""
  
      # Hide / Show the graph's x / y axis
      if not showAxis:
          subplot.xaxis.set_visible(True), subplot.yaxis.set_visible(
              True
          )
          showAxis = True
      else:
          subplot.xaxis.set_visible(False), subplot.yaxis.set_visible(
              False
          )
          showAxis = False
  
      fig.canvas.draw()
  
imports: import matplotlib.pyplot
  from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2Tk
  from matplotlib.figure import Figure
  from tkinter import *
  from tkinter import filedialog
  import platform
  import math
  import caer
label_desc: Use image node_id 6 for calling a global function with example usage: refresh_axis() without return types