Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distplot bins argument #23

Closed
justmytwospence opened this issue Dec 5, 2013 · 2 comments
Closed

distplot bins argument #23

justmytwospence opened this issue Dec 5, 2013 · 2 comments

Comments

@justmytwospence
Copy link

The documentation states that:

Unlike the default matplotlib hist function, distplot tries to use a good number of bins for the dataset you have, although all of the options for specifying bins in hist can be used.`

Attempting to use the bins argument results in:

TypeError: distplot() got an unexpected keyword argument 'bins'

Attempting to pass it through with kwargs fails as well:

hist_kws = {"bins": 10}

Is this a bug or am I missing something?

@mwaskom
Copy link
Owner

mwaskom commented Dec 5, 2013

Are you using the version on PyPi? At the moment the docs correspond to the 0.2.dev version (because they didn't exist when 0.1 was released), and bins was added since 0.1 (the fact that you can't specify bins in 0.1's hist_kws dict is a bug).

If you want to install the github version it's pretty easy, otherwise I expect to release 0.2 within a week or so.

@justmytwospence
Copy link
Author

I was indeed using the PyPi version. I'll probably just wait for the 0.2 release - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants