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

Cannot plot any data #235

Open
Buckeyes1995 opened this issue Mar 2, 2023 · 3 comments
Open

Cannot plot any data #235

Buckeyes1995 opened this issue Mar 2, 2023 · 3 comments

Comments

@Buckeyes1995
Copy link

I've been trying to plot data from the pandastable I created. I kept getting an error that the 'subplots had to be iterable or a boolean'. I thought it might be a data type issue, so I created a simple Data Frame:

    data = [[1, 1.2], [2, 0.98], [3, 1.12], [4, 0.54], [5, 0.99], [6, 1.12]]

    df_EmployeeTTest = pd.DataFrame(data, columns=['Date', 'Employee'])

    pt = Table(frame1, dataframe=df_EmployeeTTest, showtoolbar=True)
    pt.show() 
    pt.showIndex()

and verified the data type:

print(df_EmployeeTTest.dtypes)
Date          int64
Employee    float64
dtype: object

no matter what I do, I get the error message:

image

Any ideas?

@DWLMARKPICKELL
Copy link

Having exactly same issue. I can't plot any data set I upload regardless of datatype.

@dmnfarrell
Copy link
Owner

This bug doesn't seem to be present in the latest version on github. You can install using pip install -e git+https://github.com/dmnfarrell/pandastable.git#egg=pandastable instead. I'll update the pip release as well.

@DWLMARKPICKELL
Copy link

DWLMARKPICKELL commented Apr 17, 2023 via email

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

3 participants