def continuous_plotting_label(x):
    """Function to make x-axis labels for continous feature plots"""
    if type(x) == str:
        return x
    else:
        return f"{int(round(x.left))}-{int(round(x.right))}"