Skip to content

Commit

Permalink
Allowed sanitized dimensions in deep select
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jun 15, 2015
1 parent 52908c1 commit 00b5a66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion holoviews/core/dimension.py
Expand Up @@ -666,7 +666,9 @@ def select(self, selection_specs=None, **kwargs):
items = []
for k, v in selection.items():
val_dim = ['value'] if v.vdims else []
key_dims = v.dimensions('key', label=True) + val_dim
kdims, skdims = zip(*[(sanitize_identifier(kd), kd)
for kd in v.dimensions('key', label=True)])
key_dims = list(kdims) + list(skdims) + val_dim
if any(kw in key_dims for kw in kwargs):
items.append((k, v.select(selection_specs, **kwargs)))
else:
Expand Down

0 comments on commit 00b5a66

Please sign in to comment.