I was just wondering if the community has experience embedding multiple bohek onto a flask app that’s using flask_bootstrap.
so I tried the following:
# p1 is a single plot, and this renders fine plot_script, plot_div = components(p1) # but when I tried to add multiple plots it just gives me a blank screen # 1. gridplot doesn't work # https://bokeh.pydata.org/en/latest/docs/user_guide/layout.html#grids-layout-for-plots grid = gridplot([[p1, p2], [p3, p4]]) plot_script, plot_div = components(grid) # 2. passing multiple plots to components also didn't work # https://bokeh.pydata.org/en/latest/docs/user_guide/embed.html#components plot_script, plot_div = components((p1, p2, p3, p4)) # 3. looping through components and then embedding all individual script and div also did not work plot_divs =  plot_scripts =  for p in (p1, p2, p3, p4): plot_script, plot_div = components(p) plot_divs.append(plot_div) plot_scripts.append(plot_script)
The problem is there’s no error message, so I am not entirely sure how to troubleshoot this, I can upload other parts of the script such as the flask template if that’s required. Thanks!