def test_brush_indices_change(self, small_df, populated_config):
        ds = DataSource(small_df, None)
        bp = BoxPlotWidget(ds, 0, 0, 1.0, 400)
        bp.build()
        ds.brushed_indices = [1, 2, 3]

        assert bp.figure_widget.data[0].selectedpoints == ds.brushed_indices
 def test_normal_build(self, small_df, populated_config):
     ds = DataSource(small_df, None)
     bp = BoxPlotWidget(ds, 0, 0, 1.0, 400)
     root_widget = bp.build()
     assert isinstance(root_widget, widgets.VBox)