Skip to content

Commit

Permalink
Add fix for BarPlot color field sanitization
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed May 29, 2017
1 parent 0a00c58 commit a5bb032
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions holoviews/plotting/bokeh/chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,8 @@ def get_data(self, element, ranges, empty):
for name, val in mapping.items():
if isinstance(val, basestring):
mapping[name] = dimension_sanitizer(mapping[name])
elif isinstance(val, dict) and 'field' in val:
val['field'] = dimension_sanitizer(val['field'])

# Ensure x-values are categorical
xname = dimension_sanitizer(xdim.name)
Expand Down

0 comments on commit a5bb032

Please sign in to comment.