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
It looks like the height h is not defined in the yRatio calculation here and this causes the error.
Also, probably because of the undefined height in a ratio calculation, the way a heatmap is rendered is different in a div without a defined width (or perhaps other dimensions?) before and after 1.58.0:
Plotly.js v1.57.1 ('equal' aspect ratio)
Plotly.js v1.58.0 ('oblong' aspect ratio)
This is more of a problem for Dash, because it's a render-blocking error.
Codepen here (graph renders, but console error present in browser Dev Tools [not CodePen console])
With
v1.58.0
and above, theheatmapgl
trace in combination withlayout.xaxis.scaleanchor = 'y'
will result in the following console error:It looks like the height
h
is not defined in theyRatio
calculation here and this causes the error.Also, probably because of the undefined height in a ratio calculation, the way a heatmap is rendered is different in a
div
without a defined width (or perhaps other dimensions?) before and after1.58.0
:v1.57.1
('equal' aspect ratio)v1.58.0
('oblong' aspect ratio)This is more of a problem for Dash, because it's a render-blocking error.
Dash app (may require login)
Click for Python Dash code
cc @plotly/plotly_js
The text was updated successfully, but these errors were encountered: