Commit 0fe3e53
chore: update plotly.js to v2.25.2 (#2471)
* chore: upgrade plotly.js to v2.12.0
Key changes in v2.12.0:
- Added `griddash` axis property for multiple plot types
- Added minor tick and grid line styling options
- Performance improvement with "willReadFrequently" 2D context
- Fixed blank tick labels on cartesian axes
Also modified update_plotlyjs.R to support specific version targeting.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.12.1
Bug fixes:
- Fixed disabling polar rotation when dragmode is false
- Fixed custom modebar buttons mutating input
- Corrected schema description spacing
Also added .venv/ to .gitignore.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.13.0
New features:
- Persistent and editable selections over cartesian subplots
- New parallel coordinates options (unselected line color/opacity)
- Enhanced violin trace with additional quartile algorithms
- More flexible automargin control on cartesian axes
- Added delta.prefix and delta.suffix to indicator traces
- Added Chinese (Taiwan) and Sinhala locales
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.13.1
Bug fix:
- Fixed regression where selections were improperly attached to undefined event data
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.13.2
Bug fixes:
- Fixed sankey select error introduced in v2.13.0
- Fixed handling of missing drag layer for invisible sankey traces
- Fixed selection event emission in shape drawing dragmodes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.13.3
Bug fix:
- Emit plotly_selected event on plot API calls and GUI edits
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.14.0
New features:
- Added support for sankey links with arrows
- Added editSelection option to config
- Updated Dutch translations
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.15.0
New features:
- New marker properties: angle, angleref, standoff
- Legend control: entrywidth and entrywidthmode
- Layout: minreducedwidth and minreducedheight for automargin control
- Updated pie chart rotation to use angle value type
Bug fixes:
- Fixed automargin axis title updates
- Fixed pattern and slice export issues
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.15.1
Fix:
- Fixed npm module issue
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.16.0
New features:
- Clustering options for scattermapbox
- Bounds support for mapbox subplots
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.16.1
Bug fix:
- Fixed choroplethmapbox selection when adding new traces
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.16.2
Bug fix:
- Fixed regression in mapbox clearOutline from v2.13.0
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.16.3
Bug fix:
- Fixed hover on multicategory axes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.16.4
Bug fix:
- Fixed regression with scattermapbox redraw from v2.16.0
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.16.5
Bug fix:
- Disabled slider interactions when staticPlot is true
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.17.0
New features:
- Added y-axes shift and autoshift to avoid axis overlapping
- Added group attributes for scatter trace: alignmentgroup, offsetgroup
- Added marker.cornerradius for treemap trace
Changes:
- Switched bundler from browserify to webpack
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.17.1
Bug fix:
- Fixed line redraw regression from v2.15.0
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.18.0
New features:
- Added new sync tickmode option
- Improved mobile & tablet device detection for WebGL rendering
Bug fix:
- Fixed requirejs AMD loader import name issue (regression from v2.17.0)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.18.1
Changes:
- Upgraded d3-interpolate and d3-color to v3
Bug fixes:
- Fixed SVG export scaling by removing vector-effect CSS for static plots
- Fixed hover on IE (regression from v2.5.0)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.18.2
Bug fixes:
- Prevented attaching internal d3 object to window (regression from v2.17.0)
- Fixed lower/upper fence order in French locale
- Fixed formats in Peruvian Spanish (es-pe) locale
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.19.0
New features:
- Added shape label attribute
- Added labelalias for various axes types
Bug fix:
- Fixed hover label overlap for hovermode: 'x'|'y'
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.19.1
Bug fix:
- Ensure slider range stays in bounds during drag
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.20.0
New feature:
- Added title.automargin for automatic top/bottom margining
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.21.0
New features:
- Added label.texttemplate for parametric shapes
- Added strict option for custom bundle command
Bug fixes:
- Fixed legend dragging with non-default anchors
- Fixed heatmap zsmooth: "fast" rendering/performance
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.22.0
New features:
- Multiple legend support with legend2, legend3, etc.
- Added visible option for legends
Bug fixes:
- Fixed plotly_click on touch devices for gl3d scenes
- Fixed scatter3d when marker.opacity is zero
- Fixed scattermapbox visibility restyle
- Updated Norwegian and Slovak translations
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.23.0
New features:
- Added legend.xref and legend.yref for container-referenced positioning
- Added colorbar.xref and colorbar.yref for container-referenced positioning
Performance:
- Improved heatmap rendering performance when zsmooth is false
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: upgrade plotly.js to v2.23.1
Bug fix:
- Fixed heatmap rendering on iOS and Safari when zsmooth is false
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Upgrade plotly.js to v2.23.2
- Fixed text rendering while drawing new shapes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Upgrade plotly.js to v2.24.0
- Added pattern support for pie, funnelarea, sunburst, icicle, and treemap charts
- Fixed hover text access when all markers have "hoverinfo: none"
- Fixed margin spacing for container-referenced legends and colorbars
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Upgrade plotly.js to v2.24.1
- Fixed minimal copying of arrays in minExtend function (regression from v2.24.0)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Upgrade plotly.js to v2.24.2
- Fixed legend groups toggle (regression from v2.22.0)
- Fixed waterfall chart hover template delta display on total values
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Upgrade plotly.js to v2.24.3
- Fixed double-click hiding traces in other legends
- Fixed double-click behavior for pie chart slices with multiple legends
- Fixed legend group and trace order defaults with multiple legends
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Upgrade plotly.js to v2.25.0
- Added "Equal Earth" projection for geo subplots
- Added options to include legends for shapes and newshape
- Added Plotly.deleteActiveShape command
- Fixed contour plot colorscale domain calculation
- Fixed text markers on non-mapbox styled maps
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Upgrade plotly.js to v2.25.1
- Fixed clearing legend using React (regression from v2.25.0)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Upgrade plotly.js to v2.25.2
- Updated Croatian translations (hr locale)
- Security fix: addressed potential prototype pollution in plot API calls
This completes the upgrade from v2.11.1 to v2.25.2.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add TODO tracking file for plotly.js upgrade
Tracks:
- Potential regressions to test (pie rotation, selection events, SVG export, etc.)
- Potential improvements/new features to expose in R package
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Update TODO with regression investigation results
Investigated all 9 potential regressions - none are actual regressions:
- Pie rotation: schema change only, no behavioral change
- Selection events: improvement (more consistent event emission)
- SVG export: bug fix improving export quality
- Multiple legends: additive feature, regression already fixed
- Automargin: additive feature only
- Hover labels: bug fix improving positioning
- Bundle size: actually decreased by ~90KB
- Static plots: bug fix for expected behavior
- Heatmap: bug fixes and performance improvements
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Update .Rbuildignore to exclude upgrade files
Exclude from package build:
- .venv (Python virtual environment)
- CLAUDE.md (project instructions)
- PLOTLYJS_UPGRADE_LOG.md (upgrade tracking)
- PLOTLYJS_UPGRADE_TODO.md (upgrade todos)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Clean up upgrade tracking files and revert R version requirement
- Remove PLOTLYJS_UPGRADE_LOG.md and PLOTLYJS_UPGRADE_TODO.md from git
(kept locally via .gitignore)
- Revert R version requirement to >= 3.2.0 (plotly.js upgrade doesn't
require newer R)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Restore upgrade tracking files to git
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Accept new snaps
* Update shinytest2 snapshots for plotly.js v2.25.2
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Document plotly.js v2.25.2 upgrade in NEWS
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Remove upgrade tracking files from git (keep locally)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Apply suggestions from code review
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 1d0458e commit 0fe3e53
File tree
28 files changed
+173
-100
lines changed- R
- inst
- examples/shiny/event_data/tests/testthat/_snaps/shinytest2
- htmlwidgets/lib/plotlyjs
- locales
- tests/testthat/_snaps
- ggplot-contour
- ggplot-heatmap
- ggplot-tooltip
- plotly-colorscale
- plotly-subplot
- tools
28 files changed
+173
-100
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
3 | 22 | | |
4 | 23 | | |
5 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
482 | | - | |
| 482 | + | |
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| |||
Binary file not shown.
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
463 | 463 | | |
464 | | - | |
| 464 | + | |
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
475 | | - | |
| 475 | + | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
| 465 | + | |
466 | 466 | | |
467 | | - | |
| 467 | + | |
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
| 478 | + | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
| 469 | + | |
470 | 470 | | |
471 | | - | |
| 471 | + | |
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
482 | | - | |
| 482 | + | |
483 | 483 | | |
484 | | - | |
| 484 | + | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
| 470 | + | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
| 483 | + | |
484 | 484 | | |
485 | | - | |
| 485 | + | |
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| |||
0 commit comments