@classmethod
def set_axes_labels(cls, axes=None, plotconfig=None, figkwargs=None,
    label_dict=None):
    """Set axes labels.

        Parameters
        ----------
        axes : `matplotlib.axes`
        plotconfig : `PlotConfig`
        figkwargs : dict
        label_dict : dict

        """
    if label_dict is not None:
        xlabel = label_dict[plotconfig.strtype][plotconfig.xaxis.var]
        ylabel = label_dict[plotconfig.strtype][plotconfig.yaxis.var]
    else:
        xlabel = plotconfig.xaxis.label
        ylabel = plotconfig.yaxis.label
    axes.set_xlabel(xlabel, labelpad=figkwargs['labelpad'])
    axes.set_ylabel(ylabel, labelpad=figkwargs['labelpad'])
