def METHOD_NAME(self):
    vdim = Dimension('text', value_format=lambda x: f'{x:.1f}')
    labels = Labels([(0, 1, 0.33333), (1, 0, 0.66666)], vdims=vdim)
    plot = mpl_renderer.get_plot(labels)
    artist = plot.handles['artist']
    expected = {'x': np.array([0, 1]), 'y': np.array([1, 0]),
                'text': ['0.3', '0.7']}
    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['text'][i])