☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Problems using crossfilter example

Community Support
Bryan
Bryan

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

⌁   Link to post
dark980
dark980

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

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

⌁   Link to post

End of archived discussion · Replies are disabled