Skip to content

Commit

Permalink
Added missing condition to validate_dynamic_argspec
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed Apr 11, 2017
1 parent 71d8bda commit 04fe072
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions holoviews/core/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ def validate_dynamic_argspec(argspec, kdims, streams):
kdims=kdims))
elif set(kdims).issubset(set(kwargs)): # Key dims can be supplied by keyword
return kdims
elif set(kdims).issubset(set(posargs+kwargs)):
return kdims
else:
raise KeyError('Callback signature over {names} does not accommodate '
'required kdims {kdims}'.format(names=list(set(posargs+kwargs)),
Expand Down

0 comments on commit 04fe072

Please sign in to comment.