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 b81fa0f commit 7729e63
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 7729e63

Please sign in to comment.