Problems using crossfilter example

Dear friends,

I have copied a Crossfilter example of bokeh app from https://github.com/bokeh/bokeh/tree/master/examples/app/crossfilter

I would like it to have a dark background exactly like in this example https://demo.bokehplots.com/apps/crossfilter

However when I launch it on my machine the background color is plain white.

Could you please tell me what am I doing wrong?

Are you running "main.py" directly? To take advantage of all the features that directory style apps offer (e.g. templates, static subdirectories, etc) you have to pass the *directory* that contains main.py to "bokeh serve"

Thanks,

Bryan

···

On May 11, 2018, at 01:59, dark980 <[email protected]> wrote:

Dear friends,

I have copied a Crossfilter example of bokeh app from https://github.com/bokeh/bokeh/tree/master/examples/app/crossfilter

I would like it to have a dark background exactly like in this example https://demo.bokehplots.com/apps/crossfilter

However when I launch it on my machine the background color is plain white.

Could you please tell me what am I doing wrong?

--
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/3d08bdcf-721c-4460-bdfe-99b07b0f7e95%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

I noticed the white background as well. What command do you use to load the style directory?

···

Steven Howell
[email protected]
301.531.5195

Thanks Bryan!

I was launching the file directly. Now I can launch the crossfilter example properly.

However I failed to understand why my own apps are launched with a blank background.

Could you please tell me is there anything besides putting a templates folder and a theme file inside the folder with main of the project you need to do in order to launch the app with the selected template?

I can’t find anything in the main.py code of the crossfilter example that point out to the theme selection.

Looking forward to hearing from you!

···

пятница, 11 мая 2018 г., 19:40:14 UTC+3 пользователь Bryan Van de ven написал:

Are you running “main.py” directly? To take advantage of all the features that directory style apps offer (e.g. templates, static subdirectories, etc) you have to pass the directory that contains main.py to “bokeh serve”

Thanks,

Bryan

On May 11, 2018, at 01:59, dark980 [email protected] wrote:

Dear friends,

I have copied a Crossfilter example of bokeh app from https://github.com/bokeh/bokeh/tree/master/examples/app/crossfilter

I would like it to have a dark background exactly like in this example https://demo.bokehplots.com/apps/crossfilter

However when I launch it on my machine the background color is plain white.

Could you please tell me what am I doing wrong?


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/3d08bdcf-721c-4460-bdfe-99b07b0f7e95%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.