Skip to content

Commit

Permalink
tiny fix so hvplot can be used with intake (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
kthyng authored Apr 6, 2023
1 parent fe39eff commit 874e4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hvplot/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def is_dask(data):
return isinstance(data, (dd.DataFrame, dd.Series))

def is_intake(data):
if not check_library(data, 'intake'):
if "intake" not in sys.modules:
return False
from intake.source.base import DataSource
return isinstance(data, DataSource)
Expand Down

0 comments on commit 874e4d9

Please sign in to comment.