fix function call in example

This commit is contained in:
Harel Dan 2018-12-13 18:18:04 +02:00 committed by GitHub
parent 8c07c994fc
commit 1c74e0b04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,6 @@
"variant_description": "Returns a string representing a color from an expression-created ramp",
"arguments": [ {"arg":"ramp","description":"the color ramp"},
{"arg":"value","description":"the position on the ramp to select the color from as a real number between 0 and 1"}],
"examples": [ { "expression":"ramp_color(create_array(map(0,'0,0,0',1,'255,0,0')),1)", "returns":"'255,0,0,255'"} ]
"examples": [ { "expression":"ramp_color(create_ramp(map(0,'0,0,0',1,'255,0,0')),1)", "returns":"'255,0,0,255'"} ]
}]
}