From 7c94f461c1fb13eb654b6a83e072f770ecad66e5 Mon Sep 17 00:00:00 2001 From: endolith Date: Tue, 4 Jun 2024 08:32:44 -0400 Subject: [PATCH] 1 decimal point for disp in title --- examples/distributions_by_method_2D.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/distributions_by_method_2D.py b/examples/distributions_by_method_2D.py index a905173..0f9dbf8 100644 --- a/examples/distributions_by_method_2D.py +++ b/examples/distributions_by_method_2D.py @@ -142,7 +142,7 @@ def simulate_batch(n_cands): title += f'{human_format(n_voters)} voters, ' title += f'{human_format(n_cands)} candidates' title += f', both {cand_dist}' -title += f', {disp} disp' +title += f', {disp:.1f} disp' # Load from .pkl file if it exists pkl_filename = title + '.pkl'