---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-10-78ac52e99df0> in <module>
1 # box and whisker plots
2 dataset.plot(kind='box', subplots=True, layout=(2,2), sharex=False, sharey=False)
----> 3 plt.show()
NameError: name 'plt' is not defined
以上是我尝试输入方框图和晶须图时遇到的错误代码
这是代码
# box and whisker plots
dataset.plot(kind='box', subplots=True, layout=(2,2), sharex=False, sharey=False)
plt.show()