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
#[]=, #axis, #color, #pdf, #plug, #show, #title, #x_label, #x_range, #y_label, #y_range
Constructor Details
#initialize ⇒ DistributionPlot
Returns a new instance of DistributionPlot.
166 167 168 169 |
# File 'lib/rust-plots.rb', line 166 def initialize super() @series = [] end |
Instance Method Details
#series(data, **options) ⇒ Object
171 172 173 174 175 |
# File 'lib/rust-plots.rb', line 171 def series(data, **) @series << [data, ] return self end |