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

Method test_default_hover_tooltip

hvplot/tests/testnetworkx.py:28–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 assert all(self.nodes == plot.nodes.dimension_values(2))
27
28 def test_default_hover_tooltip(self):
29 from bokeh.models import HoverTool
30
31 plot = hvnx.draw(self.g)
32 hover = next(t for t in plot.opts['tools'] if isinstance(t, HoverTool))
33 assert [('index', '@{index_hover}')] == hover.tooltips

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected