AttributeError: module ‘pylab‘ has no attribute ‘subplot‘
AttributeError: module 'pylab' has no attribute 'subplot'AttributeError: module 'pylab' has no attribute 'subplot'
AttributeError: module ‘pylab’ has no attribute ‘subplot’
出现这种情况时,可以将import pylab换为import matplotlib.pyplot as plt。
import numpy as np
#impor
原创
2020-07-07 08:31:33 ·
2521 阅读 ·
0 评论