sunpeek.common.plot_utils.str_or_na#

sunpeek.common.plot_utils.str_or_na(x, idx=None, unit=None, fmt='.2g')#

Return string or formatted Quantity, if argument not empty, else return the default NA string.

Return type:

str