__init__() got an unexpected keyword argument 'location' Error

I was trying to create umap using gene marker (code below) but comes out with an error message and the color heat legend comes out blank.
How can I resolve this issue?
sc.pl.umap(adata, color = ['MS4A7'], frameon = False, layer = 'scvi_normalized')
스크린샷 2022-09-01 오후 6.58.54

Can you open a github issue in the scanpy repository?
It looks like matplotlib’s colorbar cannot be used in conjunction with the cax argument and it looks like there was a recent change in scanpy that changed that, so that might have caused this regression.

Also next time if you get an error / exception, could you share the full exception stack trace?

Will do, and I will go ahead and post the issue on github. Thank you!