code: def _set_labels(self, axes, dimensions, xlabel=None, ylabel=None, zlabel=None):
          
          xlabel, ylabel, zlabel = self._get_axis_labels(dimensions, xlabel, ylabel, zlabel)
          if self.invert_axes:
              xlabel, ylabel = ylabel, xlabel
          if xlabel and self.xaxis and 'x' in self.labelled:
              axes.set_xlabel(xlabel, **self._fontsize('xlabel'))
          if ylabel and self.yaxis and 'y' in self.labelled:
              axes.set_ylabel(ylabel, **self._fontsize('ylabel'))
          if zlabel and self.zaxis and 'z' in self.labelled:
              axes.set_zlabel(zlabel, **self._fontsize('zlabel'))
docs: Sets the labels of the axes using the supplied list of dimensions.
          Optionally explicit labels may be supplied to override the dimension
          label.