File tree 1 file changed +16
-14
lines changed
1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,22 @@ polygon.line.defaults$colour <- NA
29
29
# Convert R lty line type codes to plotly "dash" codes.
30
30
lty2dash <- c(numeric.lty , named.lty , coded.lty )
31
31
32
- aesConverters <- list (linetype = function (lty ) {
33
- lty2dash [as.character(lty )]
34
- },
35
- colour = function (col ) {
36
- toRGB(col )
37
- },
38
- size = identity ,
39
- sizeref = identity ,
40
- sizemode = identity ,
41
- alpha = identity ,
42
- shape = function (pch ) {
43
- pch2symbol [as.character(pch )]
44
- },
45
- direction = identity )
32
+ aesConverters <- list (
33
+ linetype = function (lty ) {
34
+ lty2dash [as.character(lty )]
35
+ },
36
+ colour = function (col ) {
37
+ toRGB(col )
38
+ },
39
+ size = identity ,
40
+ sizeref = identity ,
41
+ sizemode = identity ,
42
+ alpha = identity ,
43
+ shape = function (pch ) {
44
+ pch2symbol [as.character(pch )]
45
+ },
46
+ direction = identity
47
+ )
46
48
47
49
markLegends <-
48
50
# # NOTE: Do we also want to split on size?
You can’t perform that action at this time.
0 commit comments