We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9983a5a commit c68baa1Copy full SHA for c68baa1
R/layers2traces.R
@@ -767,7 +767,12 @@ geom2trace.GeomPoint <- function(data, params, p) {
767
# fill is only relevant for pch %in% 21:25
768
pch <- uniq(data$shape) %||% params$shape %||% GeomPoint$default_aes$shape
769
if (any(idx <- pch %in% 21:25) || any(idx <- !is.null(data[["fill_plotlyDomain"]]))) {
770
- L$marker$color[idx] <- aes2plotly(data, params, "fill")[idx]
+ fill_value <- aes2plotly(data, params, "fill")
771
+ if (length(idx) == 1) {
772
+ L$marker$color <- fill_value
773
+ } else {
774
+ L$marker$color[idx] <- fill_value[idx]
775
+ }
776
}
777
compact(L)
778
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments