我在Anaconda上運行python 3.6.1。 每當我嘗試用海豹繪圖時,我會收到以下警告。python seaborn FutureWarning - 不顯示陰謀
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)
即使我嘗試用下面貼在頁面上barplot例如, https://seaborn.pydata.org/generated/seaborn.barplot.html
我仍然得到同樣的結果。
在此先感謝。
我簡化了代碼。但結果是一樣的,以及
[這是從https://seaborn.pydata.org/generated/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)
這是錯誤嗎?它看起來只是一個棄用警告,而不是一個例外。你的代碼是否運行? – 2017-11-11 03:44:57
哦是的..我想這不是一個錯誤..更好地改變我的話..反正, –
情節不顯示。但是特定的seaborn代碼下面的其他代碼正常運行 –