Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 3, 2020
1 parent 9ca7825 commit 49ffa7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion holoviews/tests/plotting/bokeh/testcallbacks.py
Expand Up @@ -206,7 +206,8 @@ def test_point_draw_callback_with_vdims(self):
callback = plot.callbacks[0]
data = {'x': [1, 2, 3], 'y': [1, 2, 3], 'A': [None, None, 1]}
callback.on_msg({'data': data})
self.assertEqual(point_draw.element, Points(data, vdims=['A']))
processed = dict(data, A=[np.nan, np.nan, 1])
self.assertEqual(point_draw.element, Points(processed, vdims=['A']))

def test_poly_draw_callback(self):
polys = Polygons([[(0, 0), (2, 2), (4, 0)]])
Expand Down

0 comments on commit 49ffa7e

Please sign in to comment.