()
| 275 | |
| 276 | |
| 277 | def 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 | |
| 299 | def test_explorer_code_gridded(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…