mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-05 22:31:11 +08:00
Fix xscale option
This commit is contained in:
parent
75db26da53
commit
6ccce30377
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user