Skip to content

Commit 7f5c337

Browse files
Merge pull request YuLab-SMU#51 from xiangpin/master
inherit ggplot class
2 parents f7e3d4d + d135d70 commit 7f5c337

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/aplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ as.aplot <- function(plot) {
1313
n = 1,
1414
main_col = 1,
1515
main_row = 1),
16-
class = "aplot")
16+
class = c("aplot", "ggplot"))
1717

1818
}
1919

0 commit comments

Comments
 (0)