Skip to content

Assorted ggplot syntax changes #396

@VisruthSK

Description

@VisruthSK

With the somewhat recent release of a new ggplot2 version (4.0.0), some more arguments have been deprecated and should be adjusted. I found the following in test logs:

  ── Warning ('test-mcmc-distributions.R:93:3'): mcmc_violin returns a ggplot object ──
  The `draw_quantiles` argument of `geom_violin()` is deprecated as of ggplot2
  4.0.0.Please use the `quantiles.linetype` argument instead.

  ── Warning ('test-mcmc-traces.R:140:3'): mcmc_rank_overlay renders correctly ───
  Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0.Please use `linewidth` instead.

   ── Warning ('test-ppc-discrete.R:19:3'): ppc_bars & ppc_bars_grouped return a ggplot object ──
  The `fatten` argument of `geom_pointrange()` is deprecated as of ggplot2 4.0.0.Please use the `size` aesthetic instead.

Though perhaps this issue should be tackled when bayesplot bumps its ggplot2 dependency to 4.0.0 or newer

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions