diff options
author | David Robillard <d@drobilla.net> | 2023-08-23 14:12:12 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-08-23 14:12:12 -0400 |
commit | 934f699c8615019e27cfae61787e26889c3b2797 (patch) | |
tree | ea9b3647aa76813060f7ffd8dfa60e9db9f9a8cf | |
parent | a5c18d52a5351430d370084f25aaf7d166f7afd5 (diff) | |
download | zix-934f699c8615019e27cfae61787e26889c3b2797.tar.gz zix-934f699c8615019e27cfae61787e26889c3b2797.tar.bz2 zix-934f699c8615019e27cfae61787e26889c3b2797.zip |
Use f-string over formatting operator
-rwxr-xr-x | scripts/plot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/plot.py b/scripts/plot.py index f0eb1a2..3cc4889 100755 --- a/scripts/plot.py +++ b/scripts/plot.py @@ -109,6 +109,6 @@ if __name__ == "__main__": file_prefix_len = len(file_prefix) pyplot.title(os.path.splitext(filename[file_prefix_len:])[0].title()) - print("Writing %s" % sys.argv[1]) + print(f"Writing {sys.argv[1]}") matplotlib.pyplot.tight_layout() matplotlib.pyplot.savefig(sys.argv[1]) |