Interactive Legends

The .embed version of this still works. When I execute the linked Matlab code the plot opens as it should, but the dropdown selection results in an empty plot:
https://plot.ly/~schmid/40/
Related to the topic that I just posted - I cannot figure out how to get the updatemenus to work: Updatemenus Matlab