code: def cleanAxes(self, axl):
      if type(axl) is not list:
          axl = [axl]
      for ax in axl:
          if ax is None:
              continue
          for loc, spine in ax.spines.items():
              if loc in ["left", "bottom"]:
                  pass
              elif loc in ["right", "top"]:
                  spine.set_color("none")
                  # do not draw the spine
              else:
                  raise ValueError("Unknown spine location: %s" % loc)
              # turn off ticks when there is no spine
              ax.xaxis.set_ticks_position("bottom")
  
file_path: pyqtgraph/pyqtgraph/exporters/Matplotlib.py
imports: from ..None import PlotItem
  from ..None import functions
  from ..Qt import QtCore, QtWidgets
  from .Exporter import Exporter
label_desc: Use image node_id 3 for calling the MatplotlibExporter obj's underlying member method code with example usage: obj.cleanAxes(axl) without return types