def METHOD_NAME():
    data = pd.DataFrame({"x": 10.0 ** (np.arange(4) - 1)})
    data2 = data.assign(
        discrete=pd.Categorical(["A" + str(int(a)) for a in data["x"]])
    )
    # the range on the 'A' range is 0..1,
    # but 0.1..100 on the y
    # to verify we are using the correct range for the log ticks
    data2 = data2.drop(data2.index[1:3])
    p = (
        ggplot(data2, aes("discrete", "x"))
        + annotation_logticks(sides="l", size=0.75)
        + geom_point()
        + scale_y_log10()
        + coord_flip()
        + theme(
            panel_grid_minor=element_line(color="green"),
            panel_grid_major=element_line(color="red"),
        )
    )
    assert p == "annotation_logticks_coord_flip_discrete"