Upgrading Plotly.js from v.1.24 to v.1.30 resulted in
Failed: TypeError: Cannot read property 'append' of undefined
at drawShape (plotly.js:120051)
when SVG type 'path' Shape is used
To reproduce use the plotly-1.24.0.min.js library - the SVG shape shows.
Switch to plotly-1.30.0.min.js - TypeError: Cannot read property 'append' of undefined is thrown
https://codepen.io/dkolev8/pen/VzVywM
I found out that the last Plotly.js version that works with this SVG shape is v.1.24.1
Looks like the breaking changes are introduced in v.1.24.2