Trying to use some newly-added plotly.js config options in plotly.py raises a warning. For example, displayNotifier, added in plotly.js 3.5.0.
importplotly.expressaspxdf=px.data.iris()
fig=px.scatter(df, x="sepal_width", y="sepal_length", color="species")
config= {"displayNotifier": False}
fig.show(config=config)The config option still works as expected, but raises a warning:
/Users/ekl/code/plotly.py/plotly/offline/offline.py:152: UserWarning: Unrecognized config options supplied: ['displayNotifier']
warnings.warn(
This is because configkeys in plotly/offline/offline.py needs to be manually updated with the new keys.
Trying to use some newly-added plotly.js config options in plotly.py raises a warning. For example,
displayNotifier, added in plotly.js 3.5.0.The config option still works as expected, but raises a warning:
This is because
configkeysinplotly/offline/offline.pyneeds to be manually updated with the new keys.