Thanks for the suggestion, Stefano. I will try this.
Upon further investigation, I found a post by someone who encountered a similar error when trying to load an attribute from a package that had been recently upgraded by Anvil. I am going to report this as a likely bug. Plotly Errors occuring