Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPROVEMENT] Add dash app title #311

Closed
Olivier0330 opened this issue Jul 13, 2024 · 1 comment
Closed

[IMPROVEMENT] Add dash app title #311

Olivier0330 opened this issue Jul 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Olivier0330
Copy link

Not really a bug, but more of an improvement suggestion.

The tab title of the Dash app will by default always be called 'Dash'.
image

However, when plotting multiple data sets in different tabs, it would be useful to assign a name to the tab to know which data is shown in which tab (for example when files are plotted).
image

This can be done by adding a 'title' argument in the show_dash function of the FigureResampler class and assigning 'app.title'
image

@Olivier0330 Olivier0330 added the bug Something isn't working label Jul 13, 2024
@jonasvdd
Copy link
Member

jonasvdd commented Sep 5, 2024

@Olivier0330
If you use the manual mode, you are able to specify the title in the init_dash_kwars argument; see ⬇️

from plotly_resampler import FigureResampler
import plotly.graph_objects as go

fig = FigureResampler(go.Figure())
fig.show_dash(mode='external', port=8012, init_dash_kwargs={'title': 'TEST TITLE'})

image

I will close this issue for now.
Kind regards,
Jonas

@jonasvdd jonasvdd closed this as completed Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants