Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bokeh travis update #1246

Merged
merged 3 commits into from Apr 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -27,7 +27,7 @@ install:
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION scipy=0.18.1 numpy freetype nose bokeh=0.12.3 pandas jupyter ipython=4.2.0 param pyqt=4 matplotlib=1.5.1 xarray datashader dask=0.13
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION scipy=0.18.1 numpy freetype nose bokeh=0.12.5 pandas jupyter ipython=4.2.0 param pyqt=4 matplotlib=1.5.1 xarray datashader dask=0.13
- source activate test-environment
- conda install -c conda-forge -c scitools iris sip=4.18 plotly flexx
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion doc/nbpublisher
Submodule nbpublisher updated 1 files
+1 −1 nbtest.py
4 changes: 2 additions & 2 deletions tests/testplotinstantiation.py
Expand Up @@ -438,7 +438,7 @@ def test_batched_path_line_width_and_color(self):
self.assertEqual(plot.handles['source'].data['line_width'], line_width)
self.assertEqual(plot.handles['source'].data['color'], color)

def _test_hover_info(self, element, tooltips, line_policy='prev'):
def _test_hover_info(self, element, tooltips, line_policy='nearest'):
plot = bokeh_renderer.get_plot(element)
plot.initialize_plot()
fig = plot.state
Expand All @@ -461,7 +461,7 @@ def test_curve_overlay_hover_batched(self):
opts = {'Curve': {'tools': ['hover']},
'NdOverlay': {'legend_limit': 0}}
obj = obj(plot=opts)
self._test_hover_info(obj, [('Test', '@Test')])
self._test_hover_info(obj, [('Test', '@Test')], 'prev')

def test_curve_overlay_hover(self):
obj = NdOverlay({i: Curve(np.random.rand(10,2)) for i in range(5)},
Expand Down