August 15, 2017, 10:32am
Hi, there! I’m trying to update my Graph component, but nothing happened.
I’m using updatemenus to create buttons inside chart and when button clicked I want to change data of Figure.
As you can see I used method=‘restyle’. Also I tried to use ‘update’ method, but got the same result.
Thanks for help!
maybe dcc.Graph is not support …
In your example, it looks like your setting:
however, from the docs in
https://plot.ly/python/dropdowns/, it looks like
updatemenus is inside
layout. So, it should be:
March 29, 2018, 1:54am
Were you able to get this working? I have a similar need, to be able t load new set of data based on a button click in updatemenu.
Is there another way to achieve the same thing?