Skip to content

Commit

Permalink
1 decimal point for disp in title
Browse files Browse the repository at this point in the history
  • Loading branch information
endolith committed Aug 5, 2024
1 parent bc64d47 commit 7c94f46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/distributions_by_method_2D.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7c94f46

Please sign in to comment.