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

Function test_explorer_code_dataframe

hvplot/tests/testui.py:277–296  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

275
276
277def test_explorer_code_dataframe():
278 explorer = hvplot.explorer(df, x='bill_length_mm', kind='points')
279 assert explorer.code == dedent("""\
280 df.hvplot(
281 kind='points',
282 x='bill_length_mm',
283 y='species',
284 legend='bottom_right',
285 widget_location='bottom',
286 )""")
287 assert explorer._code_pane.object == dedent("""\
288 ```python
289 df.hvplot(
290 kind='points',
291 x='bill_length_mm',
292 y='species',
293 legend='bottom_right',
294 widget_location='bottom',
295 )
296 ```""")
297
298
299def test_explorer_code_gridded():

Callers

nothing calls this directly

Calls 1

explorerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…