Skip to content

Fix deprecated size aesthetic in mcmc_scatter examples (#467)#468

Merged
jgabry merged 1 commit intostan-dev:masterfrom
ishaan-arora-1:fix/example-size-to-linewidth-467
Mar 13, 2026
Merged

Fix deprecated size aesthetic in mcmc_scatter examples (#467)#468
jgabry merged 1 commit intostan-dev:masterfrom
ishaan-arora-1:fix/example-size-to-linewidth-467

Conversation

@ishaan-arora-1
Copy link
Contributor

Fixes #467.

The mcmc_scatter() examples use size with stat_ellipse() and stat_density_2d(), which triggers a deprecation warning since ggplot2 3.4.0. Switched to linewidth.

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.55%. Comparing base (b1cb851) to head (76bc6f3).
⚠️ Report is 10 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #468   +/-   ##
=======================================
  Coverage   98.55%   98.55%           
=======================================
  Files          35       35           
  Lines        5864     5864           
=======================================
  Hits         5779     5779           
  Misses         85       85           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jgabry jgabry merged commit bdf3eab into stan-dev:master Mar 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix deprecated size aesthetic in mcmc_scatter examples

3 participants