Skip to content

Commit

Permalink
Use iloc in Tabular.pprint_cell
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jun 18, 2017
1 parent 8607c20 commit 922accd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions holoviews/core/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ def pprint_cell(self, row, col):
return self.kdims[col].pprint_label
else:
dim = self.get_dimension(col)
values = self[dim.name]
return dim.pprint_value(values[row-1])
return dim.pprint_value(self.iloc[row-1, col])


def cell_type(self, row, col):
Expand Down

0 comments on commit 922accd

Please sign in to comment.