Plotly by default uses CDN's for it's basic javascript includes, these won't work in airgapped systems. Cache them in the directory so that those are used instead.