File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ S3method(layout,matrix)
27
27
S3method(layout,plotly)
28
28
S3method(layout,shiny.tag.list)
29
29
S3method(linewidth_or_size,Geom)
30
+ S3method(linewidth_or_size,default)
30
31
S3method(linewidth_or_size,element)
31
32
S3method(plotly_build,"NULL")
32
33
S3method(plotly_build,gg)
Original file line number Diff line number Diff line change @@ -1136,6 +1136,11 @@ linewidth_or_size.element <- function(x) {
1136
1136
if (" linewidth" %in% names(x )) " linewidth" else " size"
1137
1137
}
1138
1138
1139
+ # ' @export
1140
+ linewidth_or_size.default <- function (x ) {
1141
+ if (get_package_version(" ggplot2" ) > = " 3.4" ) " linewidth" else " size"
1142
+ }
1143
+
1139
1144
1140
1145
# Convert R pch point codes to plotly "symbol" codes.
1141
1146
pch2symbol <- function (x ) {
You can’t perform that action at this time.
0 commit comments