Skip to content

Commit

Permalink
Fixed bug in Interface.applies (#3069)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored and jlstevens committed Oct 10, 2018
1 parent 9b840e6 commit e6199c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/core/data/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def applies(cls, obj):
however if the type is expensive to import at load time the
method may be overridden.
"""
return any(isinstance(obj, t) for t in cls.types)
return type(obj) in cls.types

@classmethod
def register(cls, interface):
Expand Down

0 comments on commit e6199c3

Please sign in to comment.