code: def clear(self):
      # docstring inherited
      super().clear()
      # Init axis artists.
      self._axislines = self.AxisDict(self)
      self._axislines.update(
          bottom=SimpleAxisArtist(self.xaxis, 1, self.spines["bottom"]),
          top=SimpleAxisArtist(self.xaxis, 2, self.spines["top"]),
          left=SimpleAxisArtist(self.yaxis, 1, self.spines["left"]),
          right=SimpleAxisArtist(self.yaxis, 2, self.spines["right"]),
      )
  
file_path: matplotlib/lib/mpl_toolkits/axes_grid1/mpl_axes.py
imports: import matplotlib.axes
  from matplotlib.artist import Artist
  from matplotlib.axis import XAxis, YAxis
label_desc: Use image node_id 2 for calling the Axes obj's underlying member method code with example usage: obj.clear() without return types