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

Function test_pandas_plot_extension_loaded

hvplot/tests/testplotting.py:163–167  ·  view source on GitHub ↗
(plotting_backend)

Source from the content-addressed store, hash-verified

161
162
163def test_pandas_plot_extension_loaded(plotting_backend):
164 df = pd.DataFrame([0, 1, 2])
165 with patch('hvplot.hvplot_extension') as mock_hvplot_ext:
166 df.plot.line()
167 mock_hvplot_ext.assert_called_once_with('bokeh', logo=False)
168
169
170@pytest.mark.filterwarnings('ignore:allowing to pass duckdb data objects')

Callers

nothing calls this directly

Calls 2

patchFunction · 0.50
lineMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…