GetColumnColour
The GetColumnColour function of the AQLHistResponse class returns a suitable colour for a particular value and property.
For performance reasons, it is better to use the GetColourMap function or the GetAnalogueColourMap functions if available and suitable.
Parameters
Parameter | Type | Default | Meaning |
---|---|---|---|
col | str | The name of the column | |
val | float | The value to be converted to a colour |
Return
Returns a colour code. This will be a tuple containing the red, green and blue values for the colour.