Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Oct 29, 2024
1 parent 8422f2b commit 9cdc6c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hvplot/tests/testui.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,3 +415,8 @@ def test_max_rows_sample():
ui = hvplot.explorer(df, x='x', y='y', by=['#'], kind='scatter')
assert len(ui._data) == MAX_ROWS
assert not ui._data.equals(df.head(MAX_ROWS))


def test_explorer_geo_no_import_error_when_false():
da = ds_air_temperature['air'].isel(time=0)
assert hvplot.explorer(da, x='lon', y='lat', geo=False)

0 comments on commit 9cdc6c1

Please sign in to comment.