Lines to separate groups in seaborn heatmap Lines to separate groups in seaborn heatmap python python

Lines to separate groups in seaborn heatmap


You want ax.hlines:

ax.hlines([3, 6, 9], *ax.get_xlim())