Method: Charty::Plotters::HistogramPlotter#univariate?

Defined in:
lib/charty/plotters/histogram_plotter.rb

#univariate?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/charty/plotters/histogram_plotter.rb', line 4

def univariate?
  self.variables.key?(:x) != self.variables.key?(:y)
end