Heatmap yaxis domain issue


#1

In this codepen, the first attempt on Plotly.newPlot is not working.

I have two Y-axes. The bottom has a domain of [0,0.5], while the second has the plot_layout.yaxis2.domain = [0.945, 0.95]. However, the second Y-axis will overlap the whole plot. I expected it only covers the top 94.5% to 95%. I don’t know why this does not work. If I simply change the domain to [0.94, 0.95] covering top 94% to 95%, it suddenly worked. Why does this happen?


#2

Now in https://github.com/plotly/plotly.js/issues/3403