Skip to content

Commit

Permalink
include boxmode as valid attr (#2396)
Browse files Browse the repository at this point in the history
* include boxmode as valid attr

* Update NEWS.md with bug fix for #2476
  • Loading branch information
oliver-gray authored Dec 16, 2024
1 parent ffae983 commit aa619dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
## Bug fixes

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

# 4.10.4

Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ verify_attr_names <- function(p) {
# some layout attributes (e.g., [x-y]axis can have trailing numbers)
attrs_name_check(
sub("[0-9]+$", "", names(p$x$layout)),
c(names(Schema$layout$layoutAttributes), c("barmode", "bargap", "mapType")),
c(names(Schema$layout$layoutAttributes), c("boxmode", "barmode", "bargap", "mapType")),
"layout"
)
attrs_name_check(
Expand Down

0 comments on commit aa619dc

Please sign in to comment.