plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

Allow browser tab title to be set

Open Dr-Irv opened this issue 4 years ago • 3 comments

By default, if running a python script and doing fig.show(), there is no way to control the title of the browser window/tab.

Ideally, you'd be able to inject a <title>MYTITLE</title> into the generated HTML via some parameter.

I found a way to hack it and posted an answer in StackOverflow here: https://stackoverflow.com/a/73807264/1970354

But it would be nice if this was generalized and supported directly by plotly.

Dr-Irv avatar Sep 21 '22 21:09 Dr-Irv

Does the following not support our needs?

app = dash.Dash(__name__, title='My Browser Tab Title')

dougmellon avatar Sep 24 '22 04:09 dougmellon

Does the following not support our needs?

app = dash.Dash(__name__, title='My Browser Tab Title')

Maybe so, but then I have to create a Dash application. Using fig.show() is a lot simpler!

Dr-Irv avatar Sep 30 '22 17:09 Dr-Irv

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for a while, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Alternatively, if it's a request for tech support, please post in our community forum. Thank you - @gvwilson

gvwilson avatar Jul 05 '24 13:07 gvwilson