0

Like the title says, is there any way to dynamically update a plotly graph's title? I would like to be able to change the graph's title with data state changes for my streaming graph.

Regards

1 Answer 1

1

You can add a second dict for the layout parameter which will allow you to do what you're asking:

your_stream.write({'y': 2}, {'title': 'i am dynamic'})

Here are the pertinent lines in the GitHub repo: https://github.com/plotly/python-api/blob/master/plotly/plotly/plotly.py#L448-487

Try doing this for more info:

import plotly.plotly as py
help(py.Stream)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.