From 922accd701e5b122f6a97c5ddd96f646f022d4cb Mon Sep 17 00:00:00 2001
From: Philipp Rudiger
Date: Sun, 18 Jun 2017 23:37:00 +0100
Subject: [PATCH] Use iloc in Tabular.pprint_cell
---
holoviews/core/element.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/holoviews/core/element.py b/holoviews/core/element.py
index 55bfd64f52..1e424c5375 100644
--- a/holoviews/core/element.py
+++ b/holoviews/core/element.py
@@ -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):