From 39fade6ca194ba583916e305d7f929dbd4bcf6ed Mon Sep 17 00:00:00 2001 From: Stephan Grein Date: Wed, 18 Dec 2024 12:02:53 +0100 Subject: [PATCH] Update parameters.py Linting --- pypesto/visualize/parameters.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pypesto/visualize/parameters.py b/pypesto/visualize/parameters.py index 5b5fee415..8ccb4e0f1 100644 --- a/pypesto/visualize/parameters.py +++ b/pypesto/visualize/parameters.py @@ -465,7 +465,8 @@ def handle_inputs( # If all the scales are the same, put it in the x_axis_label if len({x_scale for _, x_scale in x_labels}) == 1: x_axis_label = "Parameter value (" - x_axis_label += isinstance(x_labels[0][1], bytes) and x_labels[0][1].decode('utf-8') or x_labels[0][1] + x_axis_label += (isinstance(x_labels[0][1], bytes) and + x_labels[0][1].decode('utf-8') or x_labels[0][1]) x_axis_label += ")" x_labels = [x_name for x_name, _ in x_labels] else: