Skip to content

ff.create_facet_grid not supporting numpy.int dtypes #1400

@priyatharsan

Description

@priyatharsan

Related to the issue: plotly/documentation#1244 logged by https://github.com/Chippasaur

Throws an error:

ValueError: 
    Invalid value of type 'numpy.int64' received for the 'name' property of scatter
        Received value: 6

    The 'name' property is a string and must be specified as:
      - A string
      - A number that will be converted to a string

when the dataframe column contains numpy.int

Looks like while checking for the instance: https://github.com/plotly/plotly.py/blob/master/_plotly_utils/basevalidators.py#L1010 numpy-based dtypes should also be validated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions