Fix xscale option

This commit is contained in:
kojix2 2021-01-27 17:30:28 +09:00
parent 75db26da53
commit 6ccce30377

View File

@ -152,7 +152,7 @@ module YouPlot
def sub_parser_add_xscale
xscale_options = UnicodePlot::ValueTransformer::PREDEFINED_TRANSFORM_FUNCTIONS.keys.join(', ')
sub_parser.on_head('--xscale STR', String, "axis scaling (#{xscale_options})") do |v|
params.xscale = v
params.xscale = v.to_sym
end
end