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
Reproduction:
In the codepen select some points using the lasso tool, and then click a zoom button.
Notable features of the codepen are that both data traces have the type 'scattergl' and only one of the two traces has a mode that contains 'text'.
(I used Chrome to reproduce)
Bug:
The traces disappear, and there is an error in the dev-tools console:
Uncaught TypeError: Cannot read property 'color' of undefined
at styleTextSelection (plotly-latest.js:173530)
at plotly-latest.js:173210
at Array.forEach ()
at Object.plot (plotly-latest.js:173208)
at plotOne (plotly-latest.js:117826)
at Object.exports.plot (plotly-latest.js:117750)
at exports.drawData (plotly-latest.js:110083)
at Object.lib.syncOrAsync (plotly-latest.js:99315)
at relayout (plotly-latest.js:106232)
at wrappedEdit (plotly-latest.js:106760)
Note:
A naive solution may just be to check if the textOptions at the current index is undefined before continuing.
The text was updated successfully, but these errors were encountered:
https://codepen.io/anon/pen/JxVZeR?editors=1111
Reproduction:
In the codepen select some points using the lasso tool, and then click a zoom button.
Notable features of the codepen are that both data traces have the type 'scattergl' and only one of the two traces has a mode that contains 'text'.
(I used Chrome to reproduce)
Bug:
The traces disappear, and there is an error in the dev-tools console:
Uncaught TypeError: Cannot read property 'color' of undefined
at styleTextSelection (plotly-latest.js:173530)
at plotly-latest.js:173210
at Array.forEach ()
at Object.plot (plotly-latest.js:173208)
at plotOne (plotly-latest.js:117826)
at Object.exports.plot (plotly-latest.js:117750)
at exports.drawData (plotly-latest.js:110083)
at Object.lib.syncOrAsync (plotly-latest.js:99315)
at relayout (plotly-latest.js:106232)
at wrappedEdit (plotly-latest.js:106760)
Note:
A naive solution may just be to check if the textOptions at the current index is undefined before continuing.
The text was updated successfully, but these errors were encountered: