Skip to content

Commit

Permalink
Ensure HoloViews responsive rerender only applies to bokeh backend
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 21, 2020
1 parent 4ed2993 commit fbe26a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion panel/pane/holoviews.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ def _get_model(self, doc, root=None, parent=None, comm=None):
state = plot.state

# Ensure rerender if content is responsive but layout is centered
if (self.center and state.sizing_mode not in ('fixed', None)
if (backend == 'bokeh' and self.center and
state.sizing_mode not in ('fixed', None)
and not self._responsive_content):
self._responsive_content = True
self._update_layout()
Expand Down

0 comments on commit fbe26a0

Please sign in to comment.