Skip to content

Cannot plot any data #235

@Buckeyes1995

Description

@Buckeyes1995

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions