We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to draw a simple heatmap with 1.5.1, but am getting this error.
Uncaught TypeError: Cannot read property 'style' of undefined
It seems to be coming from:
function lsInner(gd) { var fullLayout = gd._fullLayout, gs = fullLayout._size, axList = Plotly.Axes.list(gd), i; // clear axis line positions, to be set in the subplot loop below for(i = 0; i < axList.length; i++) axList[i]._linepositions = {}; fullLayout._paperdiv .style({ width: fullLayout.width + 'px', height: fullLayout.height + 'px' }) .selectAll('.main-svg') .call(Drawing.setSize, fullLayout.width, fullLayout.height);
In my case fullLayout has no property named _paperdiv.
The text was updated successfully, but these errors were encountered:
Repro: https://jsfiddle.net/x3srtdjg/1/
Sorry, something went wrong.
Ah, my bad - didn't notice data needed to be an array. Adding [] around it fixes problem.
Duplicate of #167
No branches or pull requests
I'm trying to draw a simple heatmap with 1.5.1, but am getting this error.
It seems to be coming from:
In my case fullLayout has no property named _paperdiv.
The text was updated successfully, but these errors were encountered: