AtributeError: 'module' object has no attribute 'plt' - Seaborn

后端 未结 5 1912
没有蜡笔的小新
没有蜡笔的小新 2021-01-07 20:05

I\'m very new with these libraries and i\'m having troubles while plotting this:

import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
im         


        
5条回答
  •  一向
    一向 (楼主)
    2021-01-07 20:32

    Ensure you have updated your python shell as well IDE's like Anaconda. Like I had a constant error in Spyder (Hosted under Anaconda) with relplot and catplot until I updated Anaconda as well as seaborn (0.90). Updating via the Anaconda commandline should be pretty straightforward like in my case.

提交回复
热议问题