Skip to content

Commit d8899ed

Browse files
committed
Fix legend border artifact in ppc_freqpoly and ppc_freqpoly_grouped
1 parent 44c3e5c commit d8899ed

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# bayesplot (development version)
22

3+
* Fixed legend border artifact in `ppc_freqpoly()` and `ppc_freqpoly_grouped()`.
34
* `ppc_ecdf_overlay()`, `ppc_ecdf_overlay_grouped()`, and `ppd_ecdf_overlay()` now always use `geom_step()`. The `discrete` argument is deprecated.
45
* Fixed missing `drop = FALSE` in `nuts_params.CmdStanMCMC()`.
56
* Replace `apply()` with `storage.mode()` for integer-to-numeric matrix conversion in `validate_predictions()`.

R/ppc-distributions.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ ppc_freqpoly <-
468468
) +
469469
scale_fill_ppc() +
470470
scale_color_ppc() +
471+
guides(fill = guide_legend(override.aes = list(color = NA))) +
471472
facet_wrap_parsed("rep_label") +
472473
bayesplot_theme_get() +
473474
force_axes_in_facets() +

0 commit comments

Comments
 (0)