(self)
| 405 | self.df = pd.DataFrame(np.random.random(100)) |
| 406 | |
| 407 | def test_downsample_default(self): |
| 408 | from holoviews.operation.downsample import downsample1d |
| 409 | |
| 410 | plot = self.df.hvplot.line(downsample=True) |
| 411 | |
| 412 | assert isinstance(plot.callback.operation, downsample1d) |
| 413 | assert plot.callback.operation.algorithm == 'lttb' |
| 414 | |
| 415 | def test_downsample_opts(self): |
| 416 | plot = self.df.hvplot.line( |