Skip to content

Commit

Permalink
Prioritized dataframe interface in travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 13, 2018
1 parent d96e8df commit e93c809
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ before-script:

script:
- export HOLOVIEWSRC=`pwd`'/holoviews.rc'
- echo 'import holoviews as hv;hv.config(style_17=True);hv.config.warn_options_call=True' > holoviews.rc
- echo 'import holoviews as hv;hv.config(style_17=True);hv.Dataset.datatype = ['dataframe']+hv.Dataset.datatype;hv.config.warn_options_call=True' > holoviews.rc
- nosetests --with-doctest --with-coverage --cover-package=holoviews -v
- cd doc/nbpublisher; chmod +x test_notebooks.py; QT_QPA_PLATFORM='offscreen' BOKEH_DEV=True ./test_notebooks.py
- chmod +x concat_html.py; ./concat_html.py ../test_data ../test_html
Expand Down
2 changes: 0 additions & 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 Down

0 comments on commit e93c809

Please sign in to comment.