Class: Rust::Plots::BarPlot
- Defined in:
- lib/rust/plots/basic-plots.rb
Overview
Represents a bar plot in R.
Instance Method Summary collapse
-
#initialize(bars) ⇒ BarPlot
constructor
Creates a new bar plot with the given
bars
values.
Methods inherited from BasePlot
#[]=, #_add_renderable, #_do_not_override_options!, #axis, #color, #grid, #palette, #pdf, #show, #title, #x_label, #x_range, #y_label, #y_range
Constructor Details
#initialize(bars) ⇒ BarPlot
Creates a new bar plot with the given bars
values.
122 123 124 125 |
# File 'lib/rust/plots/basic-plots.rb', line 122 def initialize() super() @bars = end |