Skip to content

plot-schema axis regex doesn't include x1 #2519

Closed
@chriddyp

Description

@chriddyp

In the new plotly.py PR (plotly/plotly.py#942), we're using the plot schema for validation. The current regex for axes keys is

"layout": {
    "layoutAttributes": {
        ...
        "xaxis": {
              "anchor": {
                    ...
                    "valType": "enumerated",
                    "values": [
                        "free",
                        "/^x([2-9]|[1-9][0-9]+)?$/",
                        "/^y([2-9]|[1-9][0-9]+)?$/"
                    ]
              },
         },
    },
}

which doesn't support x1. The plotly.py library uses x1 in make_subplots and other places as an alternative to x.

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