-
Notifications
You must be signed in to change notification settings - Fork 4
ImportError: cannot import name 'qqplot' from 'seaborn_qqplot' (C:\Python37\lib\site-packages\seaborn_qqplot\__init__.py) #15
Comments
Hello, My apologies, the documentation is not up to date yet. I'll fix that today. In the meantime have a look at the example notebook: https://github.com/RonsenbergVI/seaborn-qqplot/blob/master/examples/example.ipynb It explains the new API. I have consolidated all methods in the same method: from seaborn_qqplot import pplot the pplot kw argument 'kind' will help you select the type of probability plot you want to show:
I am also working on a blog post on the topic. I'll add all of these in there when done (hopefully by the end of the week) If you have any other question do not hesitate, happy to help. Rene-Jean. |
Thanks for the quick reply. |
Yes do kind='qq'. If you want to compare against a specific distribution you need a scipy.stats.rv_continuous object. The basic code should be: from seaborn_qqplot import pplot
from scipy.stats import norm
pplot(dataframe, x="your_column", kind='qq', y=norm) |
Great, Thanks a lot for the quick help! |
Can you give other options that can be passed to pplot? |
I updated the recommendation, it took a bit longer that expected. I hope it still helps. |
Hi, I tried installing seaborn-qqplot using below command
python3 -m pip install seaborn-qqplot.
Installation was successful.
When I try "import seaborn_qqplot" on python3 terminal, there is no error. However, when I try "from seaborn_qqplot import qqplot", it throws me import error. Kindly help resolve this!
The text was updated successfully, but these errors were encountered: