Black Lives Matter. Please consider donating to Black Girls Code today.

Can we add grid lines in Plotly Heat Map

Hi I want to build heatmap from confusion matrix.

  1. I am able to generate that but not able to put grid lines to separate each block.
  2. I want to show the nbr on the block itself as in seaborn plot. (Annot).

See Grid lines placement in heatmap

Yes. Here it’s grids space not able to generate line…