Nothing
#' @title Create interactive 2d contours of a 3d surface
#'
#' @description
#' These geometries are based on [geom_contour()]
#' and [geom_contour_filled()].
#' See the documentation for those functions for more details.
#'
#' @param ... arguments passed to base function,
#' plus any of the [interactive_parameters].
#' @inheritSection interactive_parameters Details for interactive geom functions
#' @examples
#' # add interactive contours to a ggplot -------
#' @example examples/geom_contour_interactive.R
#' @seealso [girafe()]
#' @export
geom_contour_interactive <- function(...)
layer_interactive(geom_contour, ...)
#' @rdname ggiraph-ggproto
#' @format NULL
#' @usage NULL
#' @export
GeomInteractiveContour <- ggproto(
"GeomInteractiveContour",
GeomInteractivePath,
default_aes = add_default_interactive_aes(GeomContour),
parameters = interactive_geom_parameters
)
#' @export
#' @rdname geom_contour_interactive
#' @include geom_polygon_interactive.R
geom_contour_filled_interactive <- function(...)
layer_interactive(geom_contour_filled, ...)
#' @rdname ggiraph-ggproto
#' @format NULL
#' @usage NULL
#' @export
GeomInteractiveContourFilled <- ggproto(
"GeomInteractiveContourFilled",
GeomInteractivePolygon,
default_aes = add_default_interactive_aes(GeomContourFilled)
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.