Is there a way to target a specific Browser (say Chrome instead of Firefox) in
a Panel app. ? I launch my application like this:
panel serve my_app.py --show ?
Or is it unconditionnaly the default browser on Linux ?
Thanks,
JM
Is there a way to target a specific Browser (say Chrome instead of Firefox) in
a Panel app. ? I launch my application like this:
panel serve my_app.py --show ?
Or is it unconditionnaly the default browser on Linux ?
Thanks,
JM
Interestingly so, yes there is! panel serve
is a wrapper around bokeh serve
and Bokeh does offer a way to customize the browser used to open the app when setting --show
, with the environment variable BOKEH_BROWSER=<browser>
:
BOKEH_BROWSER=chrome panel serve app.py --show
You can find more info in their docs: Introduction — Bokeh 3.3.0 Documentation