mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
fix function call in example
This commit is contained in:
parent
8c07c994fc
commit
1c74e0b04d
@ -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'"} ]
|
||||
}]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user