我在Anaconda上运行python 3.6.1。每当我尝试与seaborn密谋时,都会收到以下警告。
C:\Anaconda3\lib\site-packages\seaborn\categorical.py:1428: FutureWarning: remove_na is deprecated and is a private function. Do not use.
stat_data = remove_na(group_data)
Run Code Online (Sandbox Code Playgroud)
即使我尝试下面页面上发布的barplot示例,https: //seaborn.pydata.org/genic/seaborn.barplot.html
我仍然得到相同的结果。
提前致谢。
我简化了代码。但是结果也一样
[这与https://seaborn.pydata.org/genic/seaborn.barplot.html中的代码相同]
import seaborn as sns
sns.set_style("whitegrid")
tips = sns.load_dataset("tips")
sns.barplot(x="day", y="total_bill", data=tips)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2796 次 |
| 最近记录: |