def METHOD_NAME():
    pytest.importorskip("matplotlib")
    plt.figure()
    with quantity_support():
        x = [1, 2, 3] * u.s
        y = [1, 2, 3] * u.m
        yerr = [3, 2, 1] * u.cm
        fig, ax = plt.subplots()
        ax.errorbar(x, y, yerr=yerr)
        assert ax.xaxis.get_units() == u.s
        assert ax.yaxis.get_units() == u.m