Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update parameters.py #1542

Merged
merged 6 commits into from
Jan 8, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update parameters.py
Fix issue #1535
stephanmg authored Dec 18, 2024
commit ba999f646748e9c3c5c315d4d2c09728fa89ca37
2 changes: 1 addition & 1 deletion pypesto/visualize/parameters.py
Original file line number Diff line number Diff line change
@@ -464,7 +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_labels[0][1] + ")"
x_axis_label = "Parameter value (" + x_labels[0][1].decode('utf-8') + ")"
x_labels = [x_name for x_name, _ in x_labels]
else:
x_axis_label = "Parameter value"