Class: Rust::Plots::DistributionPlot
- Defined in:
- lib/rust-plots.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ DistributionPlot
constructor
A new instance of DistributionPlot.
- #series(data, **options) ⇒ Object
Methods inherited from BasePlot
#[]=, #_add_renderable, #_do_not_override_options!, #axis, #color, #grid, #pdf, #show, #title, #x_label, #x_range, #y_label, #y_range
Constructor Details
#initialize ⇒ DistributionPlot
Returns a new instance of DistributionPlot.
177 178 179 180 |
# File 'lib/rust-plots.rb', line 177 def initialize super() @series = [] end |
Instance Method Details
#series(data, **options) ⇒ Object
182 183 184 185 186 |
# File 'lib/rust-plots.rb', line 182 def series(data, **) @series << [data, ] return self end |