d);
        console.log('change on container-for-bokeh!');
        resizeId = setTimeout(format_buttons_existent_labels, 500);
    });
    $(window).resize(function() {
        clearTimeout(resizeId);
        resizeId = setTimeout(format_buttons_existent_labels, 500);
    });
</script>
{% endblock %}