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

Method test_dataarray_1d_with_title

hvplot/tests/testoptions.py:677–681  ·  view source on GitHub ↗
(self, da, backend)

Source from the content-addressed store, hash-verified

675 assert opts.kwargs['title'] == 'time = 0, band = 0'
676
677 def test_dataarray_1d_with_title(self, da, backend):
678 da_sel = da.sel(time=0, band=0, x=0)
679 plot = da_sel.hvplot() # Line plot
680 opts = Store.lookup_options(backend, plot, 'plot')
681 assert opts.kwargs['title'] == 'time = 0, x = 0, band = 0'
682
683 def test_dataarray_1d_and_by_with_title(self, da, backend):
684 da_sel = da.sel(time=0, band=0, x=[0, 1])

Callers

nothing calls this directly

Calls 2

selMethod · 0.80
hvplotMethod · 0.80

Tested by

no test coverage detected