是matplotlib库升级导致,我把库恢复到以前版本就可以运行了
It looks like ‘set_axis_bgcolor’ should be replaced with ‘facecolor’.
也可以尝试把方法set_axis_bgcolor改成facecolor,试试
gitHub讨论1
github讨论2
标签:讨论,Polar,set,facecolor,attribute,bgcolor,axis,AxesSubplot
来源: https://blog.csdn.net/weixin_42267718/article/details/89279020