def METHOD_NAME(old_numpy_printing, override_plot_backend):
    d = data.Data1D("x x",
                    np.asarray([1, 3, 6]),
                    np.asarray([3, 4, 7]),
                    staterror=np.asarray([0.25, 0.52, 0.2]),
                    syserror=np.asarray([2, 3, 1]))
    r = d._repr_html_()
    assert r is not None
    if plot.backend.name == 'pylab':
        assert '<div class="sherpa-text-fallback">&lt;sherpa.plot.DataPlot object at ' in r
        assert '<summary>Data1D Plot</summary>' in r
        assert '<svg ' in r
        return
    assert '<div class="sherpa-text-fallback">&lt;Data1D data set instance &#x27;x x&#x27;&gt;</div>' in r
    assert '<summary>Data1D Summary (7)</summary>' in r
    assert '<div class="dataname">Identifier</div><div class="dataval">x x</div>' in r
    assert '<div class="dataname">Number of bins</div><div class="dataval">3</div>' in r
    assert '<div class="dataname">Using</div><div class="dataval">1.0000-6.0000 x with 3 bins</div>' in r
    assert '<div class="dataname">X</div><div class="dataval">[1 3 6]</div>' in r
    assert '<div class="dataname">Y</div><div class="dataval">[3 4 7]</div>' in r
    assert '<div class="dataname">Statistical error</div><div class="dataval">[ 0.25  0.52  0.2 ]</div>' in r
    assert '<div class="dataname">Systematic error</div><div class="dataval">[2 3 1]</div>' in r
    assert '<svg ' not in r