User:Lucasvb/An upgrade to the spatial model of voters: Difference between revisions

Line 222:
# Visualize distribution with text blocks
def diststr(op):
return "".join(["_▁▂▃▄▅▆▇█"[int(r/max(op)*7)] for r in op]) # we go up to 7 because the full block looks bad piled up
# Show some distributions generated
295

edits