create_new_GeomPointSVG: Create a fresh instance of a GeomPointSVG ggproto object

View source: R/ggsvg.R

create_new_GeomPointSVGR Documentation

Create a fresh instance of a GeomPointSVG ggproto object

Description

These Geoms are created dynamically as each time geom_point_svg() is called, it wants to customize the $default_aes on this ggproto. Because ggproto objects are environments, then setting a default on the global copy would set the default for all references. This will get messy as things like CSS Aesthetics should not be shared between plots.

Usage

create_new_GeomPointSVG()

Details

So every geom_point_svg() gets a fresh GeomPointSVG by calling this function.

Value

ggproto object for GeomPointSVG


coolbutuseless/ggsvg documentation built on Sept. 14, 2024, 5:48 p.m.