Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Dec 3, 2018
1 parent 60ae6a9 commit 6976f83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions holoviews/plotting/bokeh/util.py
Expand Up @@ -630,11 +630,10 @@ def match_dim_specs(specs1, specs2):
The name and label must match exactly while the unit only has to
match if both specs define one.
"""
if len(specs1) != len(specs2):
if (specs1 is None or specs2 is None) or (len(specs1) != len(specs2)):
return False
for spec1, spec2 in zip(specs1, specs2):
for s1, s2 in zip(spec1, spec2):
print(s1, s2)
if s1 is None or s2 is None:
continue
if s1 != s2:
Expand Down

0 comments on commit 6976f83

Please sign in to comment.