module Nyaplot::Diagrams::Heatmap
Public Instance Methods
process_data(df, labels)
click to toggle source
# File lib/nyaplot/diagram.rb, line 325 def process_data(df, labels) label_x = labels[0] label_y = labels[1] label_fill = labels[2] x(label_x) y(label_y) fill(label_fill) @xrange = [df[label_x].to_a.min, df[label_x].to_a.max] @yrange = [df[label_y].to_a.min, df[label_y].to_a.max] end
zoom?()
click to toggle source
# File lib/nyaplot/diagram.rb, line 336 def zoom? true end