Skip to content

Commit 98b4ea7

Browse files
jlstevensphilippjfr
authored andcommitted
Added branch for pyviz_comms backwards compatibility (#2774)
1 parent c76a1df commit 98b4ea7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

holoviews/plotting/widgets/widgets.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,11 +526,15 @@ function init_dropdown(id, plot_id, dim, vals, value, next_vals, labels, next_di
526526
});
527527
}
528528

529+
529530
if (window.HoloViews === undefined) {
530531
window.HoloViews = {}
531532
window.PyViz = window.HoloViews
533+
} else if (window.PyViz === undefined) {
534+
window.PyViz = window.HoloViews
532535
}
533536

537+
534538
var _namespace = {
535539
init_slider: init_slider,
536540
init_dropdown: init_dropdown,

0 commit comments

Comments
 (0)