Skip to content

Commit

Permalink
Update parameters.py
Browse files Browse the repository at this point in the history
Revert changes.
  • Loading branch information
stephanmg authored Dec 18, 2024
1 parent 39fade6 commit 4159d3e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pypesto/visualize/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,10 +464,7 @@ 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 += ")"
x_axis_label = "Parameter value (" + x_labels[0][1] + ")"
x_labels = [x_name for x_name, _ in x_labels]
else:
x_axis_label = "Parameter value"
Expand Down

0 comments on commit 4159d3e

Please sign in to comment.