From 4a8c481e2f30fdbaf5f4ba16e8601c7e184b4ab6 Mon Sep 17 00:00:00 2001 From: Thomas Mansencal Date: Sat, 18 Nov 2023 23:08:28 +1300 Subject: [PATCH] Code formatting. --- colour/graph/conversion.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/colour/graph/conversion.py b/colour/graph/conversion.py index 986be6d3a..691b63e81 100644 --- a/colour/graph/conversion.py +++ b/colour/graph/conversion.py @@ -1155,15 +1155,15 @@ def describe_conversion_path( conversion_path = _conversion_path(source, target) + joined_conversion_path = " --> ".join( + [ + f'"{_lower_order_function(conversion_function).__name__}"' + for conversion_function in conversion_path + ] + ) + message_box( - "[ Conversion Path ]\n\n{}".format( - " --> ".join( - [ - f'"{_lower_order_function(conversion_function).__name__}"' - for conversion_function in conversion_path - ] - ) - ), + f"[ Conversion Path ]\n\n{joined_conversion_path}", width, padding, print_callable,