Skip to content
This repository was archived by the owner on Mar 24, 2023. It is now read-only.

Fixed type error for non-str lists #88

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
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
2 changes: 1 addition & 1 deletion backtrader_plotting/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def paramval2str(name, value):
elif isinstance(value, float):
return f"{value:.2f}"
elif isinstance(value, (list,tuple)):
return ','.join(value)
return ','.join(map(str, value))
elif isinstance(value, type):
return value.__name__
else:
Expand Down