On Jan 15, 2019, at 04:40, nasedil.genio.1@gmail.com wrote:
Hi Bryan,
I've noticed that the websocket_max_message_size is a keyword argument for Server class, but I wonder how to pass it that Server class from notebook when using bokeh.io.show(app, notebook_url).
I've checked Bokeh sources, it looks like this line is where the Server is created:
https://github.com/bokeh/bokeh/blob/d260c429451a04b1fc00f593ef98f10ce1392e57/bokeh/io/notebook.py#L475
and no **kwargs are passed to it from the outer function. Looks like there is no straightforward way to pass websocket_max_message_size to the created server.
понедельник, 14 января 2019 г., 19:23:43 UTC+3 пользователь Bryan Van de ven написал:
Hi,
All the command line arguments are also keyword parameters, e.g. websocket_max_message_size
Thanks,
Bryan
> On Jan 14, 2019, at 08:14, nasedil...@gmail.com wrote:
>
> When bokeh server is embedded in a notebook (like here https://github.com/bokeh/bokeh/blob/master/examples/howto/server_embed/notebook_embed.ipynb\) there are connection errors when plots are large, like in this issue: Connection errors when sending large amounts of data to browser via a bokeh server · Issue #7374 · bokeh/bokeh · GitHub (and smaller plots work just fine). I see from the docs I can use --websocket-max-message-size argument with larger value for standalone bokeh server.
>
> I wonder is there a possibility to use such argument when embedding bokeh server in a notebook, or maybe there is at least some workaround?
>
> --
> 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 bokeh+un...@continuum.io.
> To post to this group, send email to bo...@continuum.io.
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/a926d80a-6edf-423d-9585-4cf67ef4e7af%40continuum.io\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
--
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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/20a30296-9c28-46d1-b857-5c62b00ec8e8%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.