Skip to content

when using px.bar, there is some case weird. #2123

Closed
@heumsi

Description

@heumsi

I'm using

px.__version__
'0.3.0'

and jupyter notebook, python 3.6

and I tried this code.

a = pd.DataFrame({"data":[1,2,3,4,100]}, index=['A','B','C','5','0']).reset_index()
print(a)
px.bar(a, x='index', y='data')

image

I expected this kind of something...

image

Is this bug..? or was I confused something..?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions