Skip to content

Commit a476d78

Browse files
committed
gsub
1 parent bb7d055 commit a476d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/ggplotly.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ gg2list <- function(p, width = NULL, height = NULL,
603603
# TODO: how to convert a language object to unicode character string?
604604
rng[[paste0(xy, ".labels")]] <- sub(
605605
"\\*\\s+degree[ ]?[\\*]?", "&#176;",
606-
sub("\"", "", tickData[["degree_label"]])
606+
gsub("\"", "", tickData[["degree_label"]])
607607
)
608608
rng[[paste0(xy, ".major")]] <- tickData[[paste0(xy, "_start")]]
609609

0 commit comments

Comments
 (0)