Skip to content

Commit

Permalink
more precision with lab l
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-warchol committed Jun 26, 2023
1 parent df1c7f1 commit 7188d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/convert_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Define some pretty printing for classes from colormath module.
def lab_str(self):
return "{:>3.0f} {:>3.0f} {:>3.0f}".format(
return "{:>3.1f} {:>3.0f} {:>3.0f}".format(
self.lab_l, self.lab_a, self.lab_b
)

Expand Down

0 comments on commit 7188d68

Please sign in to comment.