def METHOD_NAME(self):
    labels = Labels([(0, 1, 'A'), (1, 0, 'B')])
    plot = mpl_renderer.get_plot(labels)
    artist = plot.handles['artist']
    expected = {'x': np.array([0, 1]), 'y': np.array([1, 0]),
                'Label': ['A', 'B']}
    for i, text in enumerate(artist):
        self.assertEqual(text._x, expected['x'][i])
        self.assertEqual(text._y, expected['y'][i])
        self.assertEqual(text.get_text(), expected['Label'][i])