# Space between each "groupby" group in sc.pl.heatmap?

**URL:** <https://discourse.scverse.org/t/space-between-each-groupby-group-in-sc-pl-heatmap/603>\
**Category:** scanpy\
**Created:** [July 6, 2022, 3:23pm UTC](https://discourse.scverse.org/t/space-between-each-groupby-group-in-sc-pl-heatmap/603 "2022-07-06T15:23:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![narein97](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/narein97/32/308_2.png) [@narein97](https://discourse.scverse.org/u/narein97)\
**Post date:** [July 6, 2022, 3:23pm UTC](https://discourse.scverse.org/t/space-between-each-groupby-group-in-sc-pl-heatmap/603/1 "2022-07-06T15:23:32Z")

</div>

How to separate groups in sc.pl.heatmap by space/colored lines ? Eg: As shown in [Fig b or Fig e](https://www.nature.com/articles/s41467-020-17186-5/figures/1)

---

<div class="post-metadata">

**Author:** ![ivirshup](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/ivirshup/32/160_2.png) [@ivirshup](https://discourse.scverse.org/u/ivirshup)\
**Post date:** [August 4, 2022, 3:05pm UTC](https://discourse.scverse.org/t/space-between-each-groupby-group-in-sc-pl-heatmap/603/2 "2022-08-04T15:05:40Z")

</div>

I don’t believe we currently offer that functionality. I would strongly suspect that figure was edited using something like illustrator.
