Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Graph config defaults don't match plotly.js #514

Closed
@alexcjohnson

Description

@alexcjohnson

Graph sets its own config defaults here - but this has no mechanism to keep up to date with plotly.js, and in fact it's out of date already in at least one respect, scrollZoom, as of plotly/plotly.js#3422

We should either remove those defaults entirely, or programmatically match them to plotly.js.

There's a related problem: if you override a piece of the config, the rest of the default gets dropped. So for example right now if you were to set something unrelated like showLink: true, the scrollZoom: false would be dropped - and set to the new plotly.js default!

cc @nicolaskruchten @michaelbabyn - discovered while researching plotly/plotly.js#3738

Metadata

Metadata

Assignees

No one assigned

    Labels

    dash-type-bugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions