Different behavior using downloaded Plotly.js source code vs using CDN link


I am using Plotly.js for a project and recently decided to use the downloaded minified js file provided by Plotly rather than the CDN link as the source for plotly.js source code/dependencies. In doing this, I have noticed slightly different behavior between the two - specifically in relation to the hover events. Below are a few screenshots to showcase the difference in behavior.

Using CDN link:

Using downloaded minified js file

As you can see the hover text is different between both of these with the only difference being how the Plotly.js source code/dependencies is being retrieved. I would prefer that the hover text displays as it does using the CDN link but also use the downloaded minified js file. Can anyone maybe explain why I would get different behavior using the two different sources and potentially suggest how I could solve this?