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

Method test_toolbar

hvplot/tests/testoptions.py:549–556  ·  view source on GitHub ↗
(self, df, backend, toolbar)

Source from the content-addressed store, hash-verified

547 'toolbar', ['right', 'left', 'above', 'below', None, False, True, 'disable']
548 )
549 def test_toolbar(self, df, backend, toolbar):
550 plot = df.hvplot.scatter('x', 'y', toolbar=toolbar)
551 opts = Store.lookup_options(backend, plot, 'plot')
552 if toolbar is True:
553 toolbar = 'right'
554 elif toolbar is False:
555 toolbar = None
556 assert opts.kwargs['toolbar'] == toolbar
557
558 @pytest.mark.parametrize(
559 'backend',

Callers

nothing calls this directly

Calls 1

scatterMethod · 0.45

Tested by

no test coverage detected