MCPcopy Create free account
hub / github.com/holoviz/hvplot / test_downsample_default

Method test_downsample_default

hvplot/tests/testoperations.py:407–413  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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(

Callers

nothing calls this directly

Calls 1

lineMethod · 0.45

Tested by

no test coverage detected