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

Method test_cticks

hvplot/tests/testoptions.py:725–728  ·  view source on GitHub ↗
(self, da2)

Source from the content-addressed store, hash-verified

723@pytest.mark.usefixtures('load_xarray_accessor')
724class TestXarrayCticks:
725 def test_cticks(self, da2):
726 plot = da2.isel(other=0).hvplot(cticks=[5, 10])
727 handles = hv.renderer('bokeh').get_plot(plot).handles
728 assert handles['colorbar'].ticker.ticks == [5, 10]
729
730
731def test_subcoordinate_y_bool(load_pandas_accessor):

Callers

nothing calls this directly

Calls 2

hvplotMethod · 0.80
iselMethod · 0.80

Tested by

no test coverage detected