def set_t_colorbar_label(colorbar, scale, extra=''):
    """
    Function sets label of the colorbar for effective temperature surface function.
    """
    if scale == 'linear':
        colorbar.set_label(extra + ' $T_{eff}/[K]$')
    elif scale == 'log':
        colorbar.set_label(extra + ' $log(T_{eff})$')
