You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scattergl (and not Scatter) silently fails in "lines" mode since the 3.4 release when there are >= 100k data points. The resulting chart fails to display anything but produces two JavaScript errors instead.
importplotly.offlineasplimportplotly.graph_objsasgoimportnumpyasnp# Works in 3.3 and 3.4pl.plot([go.Scattergl(x=list(range(99999)), y=list(np.random.random_sample(99999)), mode='lines')])
# Works in 3.3, fails in 3.4pl.plot([go.Scattergl(x=list(range(100000)), y=list(np.random.random_sample(100000)), mode='lines')])
Resulting JavaScript errors are:
Uncaught TypeError: Cannot read property 'sizeAvg' of undefined
at Object.calc (temp-plot.html:7)
at _ (temp-plot.html:7)
at Object.v.doCalcdata (temp-plot.html:7)
at Object.r.plot (temp-plot.html:7)
at Object.r.newPlot (temp-plot.html:7)
at temp-plot.html:7
temp-plot.html:7 Uncaught TypeError: Cannot read property '0' of undefined
at Object.v.supplyDefaultsUpdateCalc (temp-plot.html:7)
at Object.v.supplyDefaults (temp-plot.html:7)
at r.plot (temp-plot.html:7)
at Object.r.call (temp-plot.html:7)
at r.layoutReplot (temp-plot.html:7)
at Object.l.syncOrAsync (temp-plot.html:7)
at t (temp-plot.html:7)
at Object.r.call (temp-plot.html:7)
at temp-plot.html:7
v.supplyDefaultsUpdateCalc @ temp-plot.html:7
v.supplyDefaults @ temp-plot.html:7
r.plot @ temp-plot.html:7
r.call @ temp-plot.html:7
r.layoutReplot @ temp-plot.html:7
l.syncOrAsync @ temp-plot.html:7
t @ temp-plot.html:7
r.call @ temp-plot.html:7
(anonymous) @ temp-plot.html:7
This has been tested on:
Chrome 70.0.3538.77 (Official Build) (64-bit)
Firefox 60.3.0esr (64-bit)
The text was updated successfully, but these errors were encountered:
Scattergl (and not Scatter) silently fails in "lines" mode since the 3.4 release when there are >= 100k data points. The resulting chart fails to display anything but produces two JavaScript errors instead.
Resulting JavaScript errors are:
Uncaught TypeError: Cannot read property 'sizeAvg' of undefined
at Object.calc (temp-plot.html:7)
at _ (temp-plot.html:7)
at Object.v.doCalcdata (temp-plot.html:7)
at Object.r.plot (temp-plot.html:7)
at Object.r.newPlot (temp-plot.html:7)
at temp-plot.html:7
temp-plot.html:7 Uncaught TypeError: Cannot read property '0' of undefined
at Object.v.supplyDefaultsUpdateCalc (temp-plot.html:7)
at Object.v.supplyDefaults (temp-plot.html:7)
at r.plot (temp-plot.html:7)
at Object.r.call (temp-plot.html:7)
at r.layoutReplot (temp-plot.html:7)
at Object.l.syncOrAsync (temp-plot.html:7)
at t (temp-plot.html:7)
at Object.r.call (temp-plot.html:7)
at temp-plot.html:7
v.supplyDefaultsUpdateCalc @ temp-plot.html:7
v.supplyDefaults @ temp-plot.html:7
r.plot @ temp-plot.html:7
r.call @ temp-plot.html:7
r.layoutReplot @ temp-plot.html:7
l.syncOrAsync @ temp-plot.html:7
t @ temp-plot.html:7
r.call @ temp-plot.html:7
(anonymous) @ temp-plot.html:7
This has been tested on:
The text was updated successfully, but these errors were encountered: