Slide 19
Slide 19 text
切り替えの簡単さ
Pyplot backend
charty = Charty::Plotter.new(:pyplot)
scatter = charty.scatter do
iris.group_by(:label).groups.each do |label, index|
records = iris.row[*index]
series records[:petal_length].to_a, records[:petal_width].to_a, label: label[0]
end
xlabel "Petal Length"
ylabel "Petal Width"
end
scatter.render('pyplot.png')