Skip to content

Commit

Permalink
Do not link HoloViews plots where shared_axes=False (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Nov 14, 2019
1 parent 6e3ec99 commit 58a364e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
environment:
global:
CHANS_DEV: "-c pyviz/label/dev -c bokeh/label/dev -c conda-forge"
CHANS_DEV: "-c pyviz/label/dev -c bokeh -c conda-forge"
matrix:
- PY: "3.6"
CONDA: "C:\\Miniconda36-x64"
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ addons:
env:
global:
- PYENV_VERSION=3.7
- CHANS_DEV="-c pyviz/label/dev -c bokeh/label/dev -c conda-forge"
- CHANS_REL="-c pyviz -c conda-forge"
- CHANS_DEV="-c pyviz/label/dev -c bokeh -c conda-forge"
- CHANS_REL="-c pyviz -c bokeh -c conda-forge"
- LABELS_DEV="--label dev"
- LABELS_REL="--label dev --label main"
- PKG_TEST_PYTHON="--test-python=py36"
Expand Down
5 changes: 3 additions & 2 deletions panel/pane/holoviews.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _update_layout(self):
else:
try:
opts = Store.lookup_options(backend, self.object, 'plot').kwargs
except KeyError:
except:
opts = {}
responsive_modes = ('stretch_width', 'stretch_both', 'scale_width', 'scale_both')
center = self.center
Expand Down Expand Up @@ -520,7 +520,8 @@ def link_axes(root_view, root_model):
if ref not in pane._plots:
continue
plot = pane._plots[ref][0]
if not pane.linked_axes or plot.renderer.backend != 'bokeh':
if (not pane.linked_axes or plot.renderer.backend != 'bokeh'
or not getattr(plot, 'shared_axes', False)):
continue
for p in plot.traverse(specs=[ElementPlot]):
if p.current_frame is None:
Expand Down

0 comments on commit 58a364e

Please sign in to comment.