mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-12-16 03:08:54 +08:00
Use keyword arg for count
This commit is contained in:
@@ -45,7 +45,7 @@ module Uplot
|
||||
when :bar, :barplot
|
||||
Plot.barplot(data, params)
|
||||
when :count, :c
|
||||
Plot.barplot(data, params, count = true)
|
||||
Plot.barplot(data, params, count: true)
|
||||
when :hist, :histogram
|
||||
Plot.histogram(data, params)
|
||||
when :line, :lineplot
|
||||
|
||||
Reference in New Issue
Block a user