`sendDataToPlotly` default in Plotly 5.5+ `analytics` sub-dictionary prevents global privacy override
0 reputation · 16 Mar 2022, 20:36 UTC
Organizations deploying Plotly 5.5+ dashboards often require a consistent default that prevents automatic transmission of figure data to Plotly's cloud for analytics. The `sendDataToPlotly` flag, previously set at the top level of the `config` dictionary, was relocated into a nested `analytics` sub-dictionary starting with the 5.5 release. A precise goal is to determine whether a configuration-level mechanism exists to globally override this default across all figures without modifying library source code.
The top-level `sendDataToPlotly` key is documented as deprecated, and passing a `sendDataToPlotly` setting set to False in the figure configuration no longer takes effect in the new architecture. Uncertainty remains whether the library respects a globally set default, environment variable, or configuration file entry, or whether the only supported path requires editing the installed package source, which may conflict with institutional privacy policies.
Can a default be established at the module or system level that applies to all subsequently generated figures? Does the `analytics.sendDataToPlotly` key accept a persistent configuration override, or is source modification the exclusively supported approach? What are the implications for compliance frameworks that prohibit automatic telemetry without explicit administrative control?