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
Description
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