Class: Rust::Plots::GGPlot::Geom
- Defined in:
- lib/rust/external/ggplot2/geoms.rb
Direct Known Subclasses
GeomBar, GeomBoxplot, GeomCol, GeomDensity, GeomHistogram, GeomLine, GeomPoint
Instance Method Summary collapse
-
#initialize(type, arguments = [], **options) ⇒ Geom
constructor
A new instance of Geom.
Methods inherited from Layer
Constructor Details
#initialize(type, arguments = [], **options) ⇒ Geom
5 6 7 8 9 |
# File 'lib/rust/external/ggplot2/geoms.rb', line 5 def initialize(type, arguments = [], **) super("geom_#{type}", **) @type = type @arguments = Rust::Arguments.new(arguments) end |