We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a8dfb8 commit b0a385aCopy full SHA for b0a385a
data_hacks/bar_chart.py
@@ -56,7 +56,7 @@ def run(input_stream, options):
56
scale = int(math.ceil(float(max_value) / value_characters))
57
scale = max(1, scale)
58
59
- print "# each * represents a count of %d" % scale
+ print "# each ∎ represents a count of %d" % scale
60
61
if options.sort_values:
62
data = [[value, key] for key, value in data.items()]
@@ -72,7 +72,7 @@ def run(input_stream, options):
72
73
format = "%" + str(max_length) + "s [%6d] %s"
74
for value,key in data:
75
- print format % (key[:max_length], value, (value / scale) * "*")
+ print format % (key[:max_length], value, (value / scale) * "∎")
76
77
if __name__ == "__main__":
78
parser = OptionParser()
0 commit comments