From 934f699c8615019e27cfae61787e26889c3b2797 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 23 Aug 2023 14:12:12 -0400 Subject: Use f-string over formatting operator --- scripts/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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]) -- cgit v1.2.1