Updatemenus: the update set by {'yaxis2': {'visible': false}} is ineffective
See original GitHub issueIn a fig with two buttons https://plot.ly/~empet/15485, the updatemenus is defined such that when the first button is clicked to be displayed three traces. Two of them are referenced to the xaxis and a secondary yaxis. Clicking the second button only the trace referenced to xaxis, yaxis is set to be displayed, and this setting works, but any attempt to make the 'yaxis2' invisible failed.
The arg
{ "yaxis2": { "visible": false } }
is innefective. However, it works when it is set directly via layout update.
Here: https://gist.github.com/empet/9367eebc544b94937f026367c808ba94 is the json file to reproduce this bug.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Update yaxis range with updatemenus button - Plotly Python
These four + the visible field make 5 attributes that need to be updated on button click. I am trying to understand the...
Read more >How to show only one trace when plotly updatemenus load on ...
While making the trace, you can set visible = "legendonly" . Then you can toggle the trace by clicking on the line in...
Read more >Data_Products_Final_Project - RPubs
Lets set the theme for our plots to classic ... Installation paths not writeable, unable to update packages ## path: /usr/lib/R/library ...
Read more >Storytelling using animation in Plotly | by Ankur Salunke
We would be using a dataset uploaded in Kaggle which gives us the details of all space launches (successful and unsuccessful both). Let's...
Read more >NY DERBY | Expectations and reality | Kaggle
The data contains information about only 40 races with types WMC, SHP, WCL, SST and SOC, so it is useless to make any...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Nice!!! Thanks!!
No problem!