Skip to content

Conversation

@cpsievert
Copy link
Collaborator

@cpsievert cpsievert commented Jan 19, 2026

This PR fixes 7 ggplotly() bugs, primarily related to legend handling, theme translation, and tooltip generation:

Closes #2415
Closes #2455
Closes #2460
Closes #2466
Closes #2305
Closes #2467
Closes #2407
Closes #2187
Closes #2281

Test plan

  • Added tests for each fix in the appropriate test files
  • All new tests pass
  • Existing tests continue to pass

🤖 Generated with Claude Code

@cpsievert cpsievert force-pushed the fix-ggplotly-regressions branch 2 times, most recently from 8b444fc to effb698 Compare January 19, 2026 21:31
@cpsievert cpsievert force-pushed the fix-ggplotly-regressions branch from 35e5d61 to ba1e009 Compare January 19, 2026 21:54
@cpsievert cpsievert requested a review from Copilot January 19, 2026 22:04

This comment was marked as resolved.

@cpsievert cpsievert force-pushed the fix-ggplotly-regressions branch from 79b5663 to 1be6096 Compare January 19, 2026 23:46
@cpsievert cpsievert requested a review from Copilot January 20, 2026 01:09

This comment was marked as resolved.

The linewidth_or_size.element fix now correctly returns "linewidth"
for S7 objects (ggplot2 >= 4.0), which means theme elements like
tickwidth, gridwidth, and borderwidth now get their actual values
instead of 0.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cpsievert cpsievert merged commit 386506d into master Jan 20, 2026
10 checks passed
@cpsievert cpsievert deleted the fix-ggplotly-regressions branch January 20, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment