mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-09-19 02:18:08 +08:00
Changed width option from Integer to Numeric
This is to keep consistency with other options
This commit is contained in:
@@ -64,7 +64,7 @@ module YouPlot
|
|||||||
parser.on('-y', '--ylabel STR', String, 'print string on the far left of the plot') do |v|
|
parser.on('-y', '--ylabel STR', String, 'print string on the far left of the plot') do |v|
|
||||||
params.ylabel = v
|
params.ylabel = v
|
||||||
end
|
end
|
||||||
parser.on('-w', '--width INT', Integer, 'number of characters per row') do |v|
|
parser.on('-w', '--width INT', Numeric, 'number of characters per row') do |v|
|
||||||
params.width = v
|
params.width = v
|
||||||
end
|
end
|
||||||
parser.on('-h', '--height INT', Numeric, 'number of rows') do |v|
|
parser.on('-h', '--height INT', Numeric, 'number of rows') do |v|
|
||||||
|
Reference in New Issue
Block a user