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

In Plotly==6.0.0, the title is not displayed when switching the button. #5060

Open
takutori opened this issue Mar 2, 2025 · 1 comment
Open
Labels
bug something broken P1 needed for current cycle regression this used to work

Comments

@takutori
Copy link

takutori commented Mar 2, 2025

my environment

Python 3.11.11
plotly==6.0.0

I have implemented the button and layout as follows:

button = dict(
  label = button_name, method="update",
  args=[
      {"visible": visible_status},
      {"title": button_name}
      ]
  )
def layout(self):
    return go.Layout(
        title=dict(text="title"),
        updatemenus=self._updatemenus(),
        barmode="overlay",
        hovermode="x"
        )

In Plotly==6.0.0, the title set in the layout is displayed initially, but no title is displayed when you press the button.
Using Plotly==5.9.0 the title updates every time I toggle the button.

I thought this might be a problem, so I created an issue.

I'll be using Plotly==5.9.0 for a while.
best regards.

@gvwilson gvwilson added bug something broken P1 needed for current cycle regression this used to work labels Mar 3, 2025
@gvwilson
Copy link
Contributor

gvwilson commented Mar 3, 2025

thanks very much for the bug report @takutori - I'll try to have someone look at this in our next work cycle. cheers - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P1 needed for current cycle regression this used to work
Projects
None yet
Development

No branches or pull requests

2 participants