mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-05 22:31:11 +08:00
Rubocop auto correct
This commit is contained in:
parent
ec0d157a95
commit
9a9276d024
@ -128,8 +128,8 @@ module YouPlot
|
||||
def plot_xyxy(data, method1, params)
|
||||
headers = data.headers
|
||||
series2 = data.series
|
||||
.map { |s| s.map(&:to_f) }
|
||||
.each_slice(2).to_a
|
||||
.map { |s| s.map(&:to_f) }
|
||||
.each_slice(2).to_a
|
||||
method2 = get_method2(method1)
|
||||
params.name ||= headers[0] if headers
|
||||
params.xlim ||= series2.map(&:first).flatten.minmax # why need?
|
||||
|
Loading…
Reference in New Issue
Block a user