我正在尝试使用python中的ggplot制作情节。当我尝试运行时,我收到错误“
ggplot(data,aes(x='Average Credit Card Transaction',y='response'))+\
geom_smooth(se=False,span=0.2)+xlab("Average Credit Card Transaction")+\
ylab('Response')+\
ggtitle('Partial Dependence Plot \n Response Vs Average Credit Card transactions')
NameError: name 'geom_smooth' is not defined
其他一切都有效。这是一个在以后的版本中修复过的错误吗?