Skip to content

Commit b6de355

Browse files
committed
gsub
1 parent 7efd029 commit b6de355

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
@@ -617,7 +617,7 @@ gg2list <- function(p, width = NULL, height = NULL,
617617
# TODO: how to convert a language object to unicode character string?
618618
rng[[paste0(xy, ".labels")]] <- sub(
619619
"\\*\\s+degree[ ]?[\\*]?", "&#176;",
620-
sub("\"", "", tickData[["degree_label"]])
620+
gsub("\"", "", tickData[["degree_label"]])
621621
)
622622
rng[[paste0(xy, ".major")]] <- tickData[[paste0(xy, "_start")]]
623623

0 commit comments

Comments
 (0)