From 9cdc6c115e380fa80a9f8dbde31e5537c7ce10a8 Mon Sep 17 00:00:00 2001 From: Andrew Huang Date: Tue, 29 Oct 2024 13:48:01 -0700 Subject: [PATCH] add test --- hvplot/tests/testui.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hvplot/tests/testui.py b/hvplot/tests/testui.py index ccbbb3cca..2cd9fb624 100644 --- a/hvplot/tests/testui.py +++ b/hvplot/tests/testui.py @@ -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)