Class: Rust::Plots::DistributionPlot
- Defined in:
- lib/rust/plots/distribution-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, #palette, #pdf, #show, #title, #x_label, #x_range, #y_label, #y_range
Constructor Details
#initialize ⇒ DistributionPlot
Returns a new instance of DistributionPlot.
5 6 7 8 |
# File 'lib/rust/plots/distribution-plots.rb', line 5 def initialize super() @series = [] end |
Instance Method Details
#series(data, **options) ⇒ Object
10 11 12 13 14 |
# File 'lib/rust/plots/distribution-plots.rb', line 10 def series(data, **) @series << [data, ] return self end |