R/print.R

Defines functions print.new_annotation print.cpx_ggplot

#' @method print cpx_ggplot
#' @export
print.cpx_ggplot <- function(x, ...) {
  x <- cpx_ggplot_build(x)
  print(x)
}

#' @method print new_annotation
#' @export
print.new_annotation <- function(x, ...) {
  x <- cpx_ggplot_build(x)
  print(x)
}
Hy4m/newplot documentation built on Dec. 17, 2021, 11:24 p.m.