ndecs#

cfplot.ndecs(data=None)[source]#
Finds the number of decimal places in an array.
Needed to make the colour bar match the contour line labelling.
data=data - input array of values
Returns:

maximum number of necimal places