Html file generated from bokeh too large

I have an html file generated out from bokeh that is ~5MB. Currently its taking more than a minute to load on chrome.

Anyway that i can optimize this.

I am not a UI person, hence was banking on using bokeh.

However, am ready to invest on trying out a few options, would need some pointers.

4_6M_Html_file.zip (947 KB)

Hi,

I stopped counting at 100 plots. Bokeh makes various explicit tradeoffs, and some of them mean that it is not (and write possibly never will be) suitable for 100+ plots on a page. You can find more technical discussion of this fact here:

  Browser rendering extremely slow when many figures in a gridplot · Issue #6294 · bokeh/bokeh · GitHub

So one option is simply not to use Bokeh. However, if you'd like to use Bokeh then I'd suggest your only real option for now is to find some way to split this up into multiple pages with no more that ~15-20 plots at most per page.

Thanks,

Bryan

···

On May 23, 2018, at 11:32, [email protected] wrote:

I have an html file generated out from bokeh that is ~5MB. Currently its taking more than a minute to load on chrome.

Anyway that i can optimize this.

I am not a UI person, hence was banking on using bokeh.

However, am ready to invest on trying out a few options, would need some pointers.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/5f3531e9-9ded-438e-bf6b-ce649773946a%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
<4_6M_Html_file.zip>