Skip to content

Update configkeys to match plotly.js 3.5.0#5595

Merged
emilykl merged 2 commits into
mainfrom
update-configkeys
May 13, 2026
Merged

Update configkeys to match plotly.js 3.5.0#5595
emilykl merged 2 commits into
mainfrom
update-configkeys

Conversation

@emilykl
Copy link
Copy Markdown
Contributor

@emilykl emilykl commented May 13, 2026

Closes #5594

Update the configkeys list in plotly/offline/offline.py to match https://github.com/plotly/plotly.js/blob/master/src/plot_api/plot_config.js. Adds some new keys and also reorders the existing keys to match plotly.js exactly, for easier comparison.

Steps for testing

Run the following code:

import plotly.express as px

df = px.data.iris()
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species")

config = {"displayNotifier": False}
fig.show(config=config)

It should produce a warning on main, but no warning on this branch.

@emilykl emilykl requested a review from camdecoster May 13, 2026 21:02
camdecoster
camdecoster previously approved these changes May 13, 2026
@emilykl emilykl merged commit a55cd6f into main May 13, 2026
25 checks passed
@emilykl emilykl deleted the update-configkeys branch May 13, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Some recently-added config options in plotly.js raise a warning in plotly.py

2 participants