def METHOD_NAME(self):
    arr = np.random.rand(10, 10)
    img = Image(arr).opts(invert_xaxis=True)
    plot = bokeh_renderer.get_plot(img)
    x_range = plot.handles['x_range']
    self.assertEqual(x_range.start, 0.5)
    self.assertEqual(x_range.end, -0.5)
    cdata = plot.handles['source'].data
    self.assertEqual(cdata['y'], [-0.5])
    self.assertEqual(cdata['dh'], [1.0])
    self.assertEqual(cdata['dw'], [1.0])
    if bokeh3:
        self.assertEqual(cdata['x'], [-0.5])
        self.assertEqual(cdata['image'][0], arr[::-1])
    else:
        self.assertEqual(cdata['x'], [0.5])
        self.assertEqual(cdata['image'][0], arr[::-1, ::-1])