Closed mschilli87 closed 5 years ago
Thanks for the reproducible example. I think I have found the underlying issue -- when the tickvals and ticktext are passed from R to JSON if the length is one it doesn't get passed as an array. The type being array is important on the JS side. Have implemented a fix with latest github version on master branch.
I can confirm that this is fixed by 04bec9c741d0278a3c2e8a8eee2c271bbef213af.
example from README (works fine):
Assume vaccine came later (breaks labelling):