Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Subplot sort breaks if x axis is number #54

@DaveAndersonQA

Description

@DaveAndersonQA

If the values used as the x axis in subplots are numbers, then the table sort is not reflected in the subplots.

Attached are two files which are the bare minimum to repro the issue.

The CSV file is a copy of https://raw.githubusercontent.com/plotly/datasets/master/gapminderDataFiveYear.csv which I downloaded and replaced the country names with a series of numbers.

usage_issue.py is the same as the one from the dash-table-experiments repo except for one change only: lines 18-20 which load the aforementioned CSV from the plotly datasets are commented out and a line is added to load the modified CSV from the local disk.

To reproduce:

Place the two attached files into an empty directory.
Run usage_issue.py.
Observe that when the table is sorted the subplot graphs do not update.
modify usage_issue.py to use the CSV from githubusercontent
Run usage_issue.py.
Observe that when the table is sorted the subplot graphs DO update as expected.

Repro_Issue.zip

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