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

import fails with latest version of pandas #46

Closed
marketneutral opened this issue Jan 23, 2020 · 2 comments
Closed

import fails with latest version of pandas #46

marketneutral opened this issue Jan 23, 2020 · 2 comments

Comments

@marketneutral
Copy link

import joypy throws

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-2-47a753585c6f> in <module>
----> 1 import joypy
      2 import numpy as np
      3 import pandas as pd
      4 import matplotlib.pyplot as plt
      5 from sklearn.linear_model import LinearRegression

~/.local/lib/python3.6/site-packages/joypy/__init__.py in <module>
      3 __version__ = '0.1.10'
      4 
----> 5 from .joyplot import joyplot, plot_density, _joyplot

~/.local/lib/python3.6/site-packages/joypy/joyplot.py in <module>
      2 
      3 import numpy as np
----> 4 from pandas.plotting._tools import (_subplots, _flatten)
      5 import os
      6 import matplotlib as mpl

ModuleNotFoundError: No module named 'pandas.plotting._tools'
@leotac
Copy link
Owner

leotac commented Jan 23, 2020

Hi, I think it's the same issue in #38. It should be fixed in the latest version (0.2.1).

@marketneutral
Copy link
Author

Yes, that's right. Thank you! It works with 0.2.1.

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