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 6, 2024
1 parent 2f5f9b3 commit 7da8f4b
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 @@ -146,7 +146,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 7da8f4b

Please sign in to comment.