You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrade bundled plotly.js to from 3.x to 4.x; releasing 0.15.0 #437
changed the title [-]Upgrade bundled plotly.js to from 3.x to 4.x[/-][+]Upgrade bundled plotly.js to from 3.x to 4.x; releasing 0.15.0[/+]on Sep 14, 2026
Some notes for the plotly.js 4.x bump, from testing qsv's Data Schematics against plotly.js 4.1.2:
Removed in plotly.js 4.0 but still exposed by plotly.rs
ScatterMapbox, DensityMapbox, layout::Mapbox and Configuration::mapbox_access_token (plotly.js#7860). These traces no longer render in 4.x, so they probably need deprecating or removing in 0.16.0 in favour of ScatterMap/DensityMap.
Chart Studio config: show_link, link_text, send_data, show_edit_in_chart_studio (plotly.js#7812).
*src attributes (plotly.js#7829): Pie still has nine of them (values_src, text_src, hover_text_src, …).
Changed defaults that alter existing plotly.rs output without any code change
"Upload to Cloud" now appears in the modebar by default, pointing at cloud.plotly.com (plotly.js#7909). This one is probably worth a CHANGELOG or doc note. Users who don't want their data offered for upload need Configuration::show_send_to_cloud(false).
splom axes now matches: true; geo.fitbounds defaults to 'locations'; overlaying axes default to tickmode: 'sync'; colour parsing moved from TinyColor to culori.
The default double_click_delay went from 300 to 500 ms (4.1.0), which the doc comment may mention.
Static export
plotly.js 4.1.1 moved to MapLibre 6, which requires WebGL2. Map traces in headless-browser export may be worth a test.
Evidence the serialized JSON works
We loaded 18 qsv Data Schematics (charts generated from plotly.rs, including maps, sunburst, treemap, splom and choropleths) with plotly.js 4.1.2 in place of 3.7.0. Panel counts were identical, there were no console errors, and every map loaded. This was a smoke test, not a visual diff.
(Checked against a fork commit close to #442's base, so a field or two may already differ on that branch.)
Activity
[-]Upgrade bundled plotly.js to from 3.x to 4.x[/-][+]Upgrade bundled plotly.js to from 3.x to 4.x; releasing 0.15.0[/+]andrei-ng commentedon Oct 9, 2026
Sounds good @jqnatividad . Could you make a PR
jqnatividad commentedon Oct 17, 2026
OK @andrei-ng ! Hope #442 passes muster!
I went ahead and removed kaleido as well - making good on the deprecation notice.
jqnatividad commentedon Oct 28, 2026
Some notes for the plotly.js 4.x bump, from testing qsv's Data Schematics against plotly.js 4.1.2:
Removed in plotly.js 4.0 but still exposed by plotly.rs
ScatterMapbox,DensityMapbox,layout::MapboxandConfiguration::mapbox_access_token(plotly.js#7860). These traces no longer render in 4.x, so they probably need deprecating or removing in 0.16.0 in favour ofScatterMap/DensityMap.show_link,link_text,send_data,show_edit_in_chart_studio(plotly.js#7812).*srcattributes (plotly.js#7829):Piestill has nine of them (values_src,text_src,hover_text_src, …).Changed defaults that alter existing plotly.rs output without any code change
Configuration::show_send_to_cloud(false).splomaxes nowmatches: true;geo.fitboundsdefaults to'locations'; overlaying axes default totickmode: 'sync'; colour parsing moved from TinyColor to culori.double_click_delaywent from 300 to 500 ms (4.1.0), which the doc comment may mention.Static export
Evidence the serialized JSON works
(Checked against a fork commit close to #442's base, so a field or two may already differ on that branch.)