Skip to content

Commit

Permalink
Fix flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jun 24, 2022
1 parent 97a2e7a commit c230494
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions holoviews/tests/plotting/matplotlib/test_pointplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ def test_point_categorical_color_op_legend(self):
points = Points([(0, 0, 'A'), (0, 1, 'B'), (0, 2, 'A')],
vdims='color').options(color='color', show_legend=True)
plot = mpl_renderer.get_plot(points)
artist = plot.handles['artist']
leg = plot.handles['axis'].get_legend()
legend_labels = [l.get_text() for l in leg.texts]
self.assertEqual(legend_labels, ['A', 'B'])
Expand All @@ -250,7 +249,6 @@ def test_point_categorical_color_op_legend_with_labels(self):
points = Points([(0, 0, 'A'), (0, 1, 'B'), (0, 2, 'A')], vdims='color').opts(
color='color', show_legend=True, legend_labels={'A': 'A point', 'B': 'B point'})
plot = mpl_renderer.get_plot(points)
artist = plot.handles['artist']
leg = plot.handles['axis'].get_legend()
legend_labels = [l.get_text() for l in leg.texts]
self.assertEqual(legend_labels, ['A point', 'B point'])
Expand Down

0 comments on commit c230494

Please sign in to comment.