# Rank\_genes\_groups\_dotplot do not display legend color

**URL:** <https://discourse.scverse.org/t/rank-genes-groups-dotplot-do-not-display-legend-color/1471>\
**Category:** scanpy\
**Created:** [May 30, 2023, 9:58am UTC](https://discourse.scverse.org/t/rank-genes-groups-dotplot-do-not-display-legend-color/1471 "2023-05-30T09:58:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jinyuanchun](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/jinyuanchun/32/679_2.png) [@jinyuanchun](https://discourse.scverse.org/u/jinyuanchun)\
**Post date:** [May 30, 2023, 9:58am UTC](https://discourse.scverse.org/t/rank-genes-groups-dotplot-do-not-display-legend-color/1471/1 "2023-05-30T09:58:47Z")

</div>

i have two question:  
1 i use rank\_genes\_groups\_dotplot function for drawing. There is a problem with the picture drawn.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/forum11/original/1X/cf04c8674c4f781e99419fd81e3a045d9db91a5a.jpeg)
