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

Method test_rasterize_default_cmap

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

Source from the content-addressed store, hash-verified

85 self.assertEqual(opts.get('cmap'), 'kbc_r')
86
87 def test_rasterize_default_cmap(self):
88 plot = self.df.hvplot.scatter('x', 'y', dynamic=False, rasterize=True)
89 opts = Store.lookup_options('bokeh', plot, 'style').kwargs
90 self.assertEqual(opts.get('cmap'), 'kbc_r')
91
92 def test_rasterize_default_colorbar(self):
93 plot = self.df.hvplot.scatter('x', 'y', dynamic=False, rasterize=True)

Callers

nothing calls this directly

Calls 1

scatterMethod · 0.45

Tested by

no test coverage detected