Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #852 from ioam/bokeh_table_options
Applying dimension formatters to Bokeh Table values
  • Loading branch information
philippjfr committed Sep 7, 2016
2 parents a9fc6dc + 0f8820c commit c39efb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion holoviews/plotting/bokeh/tabular.py
Expand Up @@ -28,7 +28,9 @@ def __init__(self, element, plot=None, show_labels=['x', 'y'], **params):

def get_data(self, element, ranges=None, empty=False):
dims = element.dimensions()
return ({d.name: [] if empty else element.dimension_values(d) for d in dims},
return ({d.name: [] if empty else
[d.pprint_value(v) for v in element.dimension_values(d)]
for d in dims},
{d.name: d.name for d in dims})


Expand Down

0 comments on commit c39efb1

Please sign in to comment.