Skip to content

Commit

Permalink
Added print statements for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 13, 2018
1 parent d96e8df commit 1ff18a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions holoviews/element/graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ def _process(self, element, key=None):
source = element.dimension_values(0, expanded=False)
target = element.dimension_values(1, expanded=False)
nodes = np.unique(np.concatenate([source, target]))
if source.dtype.kind == 'i' and target.dtype.kind == 'i':
nodes = nodes.astype('int')
if self.p.layout:
import pandas as pd
df = pd.DataFrame({'index': nodes})
Expand All @@ -70,6 +68,7 @@ def _process(self, element, key=None):
else:
nodes = circular_layout(nodes)
nodes = element.node_type(nodes)
print(nodes.data)
if element._nodes:
for d in element.nodes.vdims:
vals = element.nodes.dimension_values(d)
Expand Down

0 comments on commit 1ff18a6

Please sign in to comment.