# Error when draw UMAP: object has no attribute 'get\_cmap'

**URL:** https://discourse.scverse.org/t/error-when-draw-umap-object-has-no-attribute-get-cmap/1726
**Category:** scanpy
**Created:** [August 30, 2023, 8:28am UTC](https://discourse.scverse.org/t/error-when-draw-umap-object-has-no-attribute-get-cmap/1726 "2023-08-30T08:28:59Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![egoecho](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/egoecho/32/785_2.png) [@egoecho](https://discourse.scverse.org/u/egoecho)
#### Post date: [August 30, 2023, 12:05pm UTC](https://discourse.scverse.org/t/error-when-draw-umap-object-has-no-attribute-get-cmap/1726/3 "2023-08-30T12:05:58Z")

</div>

Thanks. Unfortunately reinstalling scanpy didn’t help. I guess this problem happened after I updated conda. So maybe the update of matplotlib leads to this error. May I ask which matplotlib version you are using without this problem? My version is 3.5.3.

---

_[View the full topic](https://discourse.scverse.org/t/error-when-draw-umap-object-has-no-attribute-get-cmap/1726)._
