()
| 413 | |
| 414 | @pytest.mark.usefixtures('disable_param_warnings_as_exceptions') |
| 415 | def test_max_rows_sample(): |
| 416 | N = 100001 |
| 417 | x = np.linspace(0.0, 6.4, num=N) |
| 418 | y = np.sin(x) + 10 |
| 419 | df = pd.DataFrame({'x': x, 'y': y}) |
| 420 | ui = hvplot.explorer(df, x='x', y='y', by=['#'], kind='scatter') |
| 421 | assert len(ui._data) == MAX_ROWS |
| 422 | assert not ui._data.equals(df.head(MAX_ROWS)) |
| 423 | |
| 424 | |
| 425 | def test_explorer_geo_no_import_error_when_false(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…