Skip to content

Commit

Permalink
Only set HoloViews backend in first extension call (#5880)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Jan 12, 2024
1 parent 1804d15 commit d29f5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ def __call__(self, *args, **params):
backend = hv.Store.current_backend
else:
backend = 'bokeh'
if hasattr(hv.Store, 'set_current_backend'):
if not loaded or (loaded and backend != hv.Store.current_backend) and hasattr(hv.Store, 'set_current_backend'):
hv.Store.set_current_backend(backend)
else:
hv.Store.current_backend = backend
Expand Down

0 comments on commit d29f5eb

Please sign in to comment.