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

Error using Python 2.7 and Matplotlib #90

Closed
springcoil opened this issue Jan 23, 2014 · 2 comments
Closed

Error using Python 2.7 and Matplotlib #90

springcoil opened this issue Jan 23, 2014 · 2 comments

Comments

@springcoil
Copy link

Hi I get the following error when I try to reproduce the linear regression tutorial.
File "seabornexperiment.py", line 50, in
sns.regplot(x2, y2)
File "/usr/local/lib/python2.7/dist-packages/seaborn/linearmodels.py", line 402, in regplot
distplot(y, ax=ax_y_marg, vertical=True, *_dist_kws)
File "/usr/local/lib/python2.7/dist-packages/seaborn/distributions.py", line 468, in distplot
orientation=orientation, *_hist_kws)
File "/usr/lib/pymodules/python2.7/matplotlib/axes.py", line 8180, in hist
color=c, bottom=bottom)
TypeError: barh() got multiple values for keyword argument 'bottom'

@mwaskom
Copy link
Owner

mwaskom commented Jan 23, 2014

I think that was a bug in matplotlib 1.2. Try upgrading to 1.3 if you can.

@mwaskom
Copy link
Owner

mwaskom commented Jan 23, 2014

It was fixed here: matplotlib/matplotlib#1985

@mwaskom mwaskom closed this as completed Jan 24, 2014
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