Skip to content

Boolean data is autotyped like a number #3039

Closed
@alexcjohnson

Description

@alexcjohnson
> Plotly.newPlot(gd,[{y:[true,false,true]}])
> gd._fullLayout.yaxis.type
< "linear"

screen shot 2018-09-21 at 4 31 27 pm

It should be treated as categories instead:

Plotly.newPlot(gd,[{y:[true,false,true]}],{yaxis:{type:'category'}})

screen shot 2018-09-21 at 4 30 09 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions