Skip to content

Commit

Permalink
Support categorical coordinates on ErroBars and Text
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 29, 2017
1 parent 9f8659c commit b44308f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions holoviews/plotting/bokeh/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def get_data(self, element, ranges=None, empty=False):
data = dict(x=[element.y], y=[element.x])
else:
data = dict(x=[element.x], y=[element.y])
self._clean_data(data, ('x', 'y'), element.dimensions())
data['text'] = [element.text]
return (data, mapping)

Expand Down
1 change: 1 addition & 0 deletions holoviews/plotting/bokeh/chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ def get_data(self, element, ranges=None, empty=False):
data = dict(xs=err_ys, ys=err_xs)
else:
data = dict(xs=err_xs, ys=err_ys)
self._clean_data(data, ('xs', 'ys'), element.dimensions())
return (data, dict(self._mapping))


Expand Down

0 comments on commit b44308f

Please sign in to comment.