Skip to content

Commit aa619dc

Browse files
authored
include boxmode as valid attr (#2396)
* include boxmode as valid attr * Update NEWS.md with bug fix for #2476
1 parent ffae983 commit aa619dc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NEWS.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
## Bug fixes
1212

1313
* Closed #2337: Creating a new `event_data()` handler no longer causes a spurious reactive update of existing `event_data()`s. (#2339)
14+
* Closed #2376: Removes errant boxmode warning for grouped boxplot. (#2396)
1415

1516
# 4.10.4
1617

R/utils.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ verify_attr_names <- function(p) {
449449
# some layout attributes (e.g., [x-y]axis can have trailing numbers)
450450
attrs_name_check(
451451
sub("[0-9]+$", "", names(p$x$layout)),
452-
c(names(Schema$layout$layoutAttributes), c("barmode", "bargap", "mapType")),
452+
c(names(Schema$layout$layoutAttributes), c("boxmode", "barmode", "bargap", "mapType")),
453453
"layout"
454454
)
455455
attrs_name_check(

0 commit comments

Comments
 (0)