Rubocop auto correct

This commit is contained in:
kojix2 2021-11-19 13:56:09 +09:00
parent ec0d157a95
commit 9a9276d024

View File

@ -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?