Browse code

do not convert legend labels to characters

Zuguang Gu authored on 20/09/2021 10:10:13
Showing 1 changed files

... ...
@@ -881,7 +881,6 @@ horizontal_continuous_legend_body = function(at, labels = at, col_fun,
881 881
 		}
882 882
 	}
883 883
 
884
-	labels = as.character(labels)
885 884
 	labels_rot = labels_rot %% 360
886 885
 
887 886
 	n_labels = length(labels)