You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
The documentation states that:
Attempting to use the bins argument results in:
Attempting to pass it through with kwargs fails as well:
Is this a bug or am I missing something?
The text was updated successfully, but these errors were encountered: