Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Oct 29, 2024
1 parent bd29858 commit 8422f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hvplot/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def __init__(self, data, **params):
pass

geo_params = GEO_KEYS + ['geo']
if not gv_available and any(p in params and params[p] for p in geo_params):
if not gv_available and any(params.get(p) for p in geo_params):
raise ImportError('GeoViews must be installed to enable the geographic options.')
super().__init__(data, **params)
if not gv_available:
Expand Down

0 comments on commit 8422f2b

Please sign in to comment.