In Plotly==6.0.0, the title is not displayed when switching the button.
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.
thanks very much for the bug report @takutori - I'll try to have someone look at this in our next work cycle. cheers - @gvwilson
Thanks for the issue! Where are you running this code? JupyterLab? VS Code? A python script?
closing as unresponsive
@marthacryan @gvwilson
Sorry for the late reply. I'm replying just to be sure. I was using vs code.
thanks @takutori - can you please try with plotly.py 6.1.2 and let us know if the problem is still there?
@gvwilson I just checked. The problem still exists in plotly==6.1.2
I just checked using plotly==6.2.0 and am also experiencing this issue. I installed plotly==5.24.1 and the title updated as expected.