def METHOD_NAME( plot, labelFormat = '{path}.{field}' ):
	# Over-ride label format if label has been given explicitly.
	if plot.label:
		labelFormat = plot.label
	return labelFormat.format(
		path  = plot.obj.path,
		name  = plot.obj.name,
		field = plot.field
	)