Python matplotlib和seaborn未打印任何内容,但未收到任何错误消息

Python matplotlib和seaborn未打印任何内容,但未收到任何错误消息,python,pandas,matplotlib,seaborn,Python,Pandas,Matplotlib,Seaborn,我正在使用matplotlib和seaborn的默认设置,我无法绘制任何内容。可能有什么问题 LoanStats_securev1_2018Q1_unique['loan_status'].head() 0 Current 1 Current 2 Current 3 Current 4 Current Name: loan_status, dtype: object 但是,此行不返回任何内容,也不返回任何错误: sns.countplot(x="loan_sta

我正在使用matplotlib和seaborn的默认设置,我无法绘制任何内容。可能有什么问题

LoanStats_securev1_2018Q1_unique['loan_status'].head()

0    Current
1    Current
2    Current
3    Current
4    Current
Name: loan_status, dtype: object
但是,此行不返回任何内容,也不返回任何错误:

sns.countplot(x="loan_status", data=LoanStats_securev1_2018Q1, palette="Greens_d");

<matplotlib.axes._subplots.AxesSubplot at 0x993d455668>
sns.countplot(x=“贷款状态”,data=LoanStats\u securev1\u 2018Q1,palete=“Greens\u d”);

如果您在Jupyter中使用matplotlib,请添加以下行

%matplotlib inline

如果您在Jupyter中使用matplotlib,请添加以下行

%matplotlib inline

脚本中是否有
show()
函数调用?正在使用的图形后端是什么?如果执行代码时没有结尾
,会发生什么
sns.countplot(x=“loan\u status”,data=LoanStats\u securev1\u 2018Q1,palete=“Greens\u d”)
脚本中是否有
show()
函数调用?正在使用的图形后端是什么?如果执行代码时没有结尾
,会发生什么
sns.countplot(x=“loan_status”,data=LoanStats_securev1\u 2018Q1,palete=“Greens\u d”)
是的,很久以前我也遇到过同样的问题,我记得我花了一些时间才找到,很高兴能帮上忙。如果问题已解决,请不要忘记单击答案下方的绿色勾号=)是的,很久以前我也遇到过同样的问题,我记得我花了一些时间才找到,很高兴我能提供帮助。如果问题已解决,请不要忘记单击答案下方的绿色勾号=)