当前位置:网站首页>TypeError: set_ figure_ params() got an unexpected keyword argument ‘figsize‘

TypeError: set_ figure_ params() got an unexpected keyword argument ‘figsize‘

2022-04-23 16:46:00 The clouds are rising late

I'm running today BBKNN When it comes to code , There's a problem :

Because the code is transplanted , Maybe the environment is different , So I have reviewed the parameters required by the original function :

  Not as required ‘figsize’ as well as ‘facecolor’, It's changed to ‘fontsize’ and ‘color_map’, So it can be inferred that scanpy The version of the package is different from that of the original author . Replacing these two parameters with the latter two solves the problem .

版权声明
本文为[The clouds are rising late]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231640319778.html