源代码
f,ax = plt.subplot(figsize=(12,10))
显示错误

反复对比发现是subplot中没有figsize属性,但subplots中有
f, ax = plt.subplots(figsize=(12,10))
所以可能是函数拼写错误
其他解决方案
https://blog.youkuaiyun.com/low5252/article/details/104730529
源代码
f,ax = plt.subplot(figsize=(12,10))
显示错误

反复对比发现是subplot中没有figsize属性,但subplots中有
f, ax = plt.subplots(figsize=(12,10))
所以可能是函数拼写错误
其他解决方案
https://blog.youkuaiyun.com/low5252/article/details/104730529
4595
2067

被折叠的 条评论
为什么被折叠?