Closed
Description
Originally reported in /plotly/documentation#1378, this choropleth example doesn't load anymore due to a regression introduced in 1.48. See this codepen with layout.geo.showcoastlines: true
using plotly.js 1.47.0 and the same plot using version 1.48.0 of plotly.js.
I see the following error in the console:
Uncaught (in promise) TypeError: Cannot read property 'objects' of null
at n.getTopojsonFeatures (plotlyjs-bundle.7315e6932bed.js:1)
at u (plotlyjs-bundle.7315e6932bed.js:1)
at Object.e.exports [as plot] (plotlyjs-bundle.7315e6932bed.js:1)
at Object.g.generalUpdatePerTraceModule (plotlyjs-bundle.7315e6932bed.js:1)
at y.x.update (plotlyjs-bundle.7315e6932bed.js:1)
at y.x.plot (plotlyjs-bundle.7315e6932bed.js:1)
at Object.plot (plotlyjs-bundle.7315e6932bed.js:1)
at r.drawData (plotlyjs-bundle.7315e6932bed.js:1)
at Object.l.syncOrAsync (plotlyjs-bundle.7315e6932bed.js:1)
at i (plotlyjs-bundle.7315e6932bed.js:1)