Training garbage error in heatmap with Nans

Hi,

we found an error plotting an heatmap chart. In particular we set the Z values to Nan matrix (2 x 2). We obtained the following error

Error: attribute transform: Trailing garbage, “rotate(0,NaN,NaN)”.

In attachment a working example to reproduce the problem.

As you can see in the example, the chart scale and labels are drawn in an unexpected way

Thanks!

Thanks for the report!

You can track it here -> https://github.com/plotly/plotly.js/issues/3526