Skip to content

Commit 8f4de17

Browse files
committed
update news
1 parent 306b4ef commit 8f4de17

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656

5757
### Other fixes relevant for all **plotly** objects
5858

59+
* Marker sizes (i.e., `marker.size`) are now _always_ based on the area when `marker.sizemode='area'` (which is the default sizemode when using the `size` argument). Previously, traces with one just one value supplied to `marker.size` were being sized by their diameter (#1133).
5960
* Bug fix for linking views with crosstalk where the source of the selection is an aggregated trace (#1218).
6061
* Resizing behavior, after updating `height`/`width` via **shiny** reactive values, is now correct (#1068).
6162
* Fixed algorithm for coercing the proposed layout to the plot schema (#1156).

R/utils.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ verify_attr <- function(proposed, schema) {
499499
# if marker.sizemode='area', make sure marker.size is boxed up
500500
# (otherwise, when marker.size is a constant, it always sets the diameter!)
501501
# https://codepen.io/cpsievert/pen/zazXgw
502+
# https://github.com/plotly/plotly.js/issues/2735
502503
if ("area" %in% proposed$marker$sizemode) {
503504
proposed$marker[["size"]] <- i(proposed$marker[["size"]])
504505
}

0 commit comments

Comments
 (0)