Skip to content

Commit cf58771

Browse files
committed
Use transparent scatter lines for errorbars. Fixes #513.
1 parent 03d3e54 commit cf58771

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/layers2traces.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -655,8 +655,8 @@ make_error <- function(data, params, xy = "x") {
655655
text = data$hovertext,
656656
type = "scatter",
657657
mode = "lines",
658-
opacity = 0,
659-
line = list(color = color)
658+
opacity = 1,
659+
line = list(color = "transparent")
660660
)
661661
e[[paste0("error_", xy)]] <- list(
662662
array = data[[paste0(xy, "max")]] - data[[xy]],

0 commit comments

Comments
 (0)