fixed label string formatting

fixed use of format for self.label property.

/cc @clytwynec @benpatterson