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