Skip to content

Test mock with unexpected "barnorm" value  #4704

Closed
@hmf

Description

@hmf

The mock bar_attrs_overlay.json has the following layout:

    "layout":{
        "xaxis": {"showgrid":true},
        "height":400,
        "width":400,
        "barmode":"overlay",
        "barnorm":false
    }

Testing based on the schema resulted in a parsing error of "barnorm". The schema has:

"barnorm": {
                    "valType": "enumerated",
                    "values": [
                        "",
                        "fraction",
                        "percent"
                    ],
                    "dflt": "",
                    "role": "info",
                    "editType": "calc",
                    "description": "Sets the normalization for bar traces on the graph. With *fraction*, the value of each bar is divided by the sum of all values at that location coordinate. *percent* is the same but multiplied by 100 to show percentages."
                },

Is that an error or can we have false values?

TIA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions