Skip to content

Commit

Permalink
Fix typo in a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
flashcode committed Nov 13, 2014
1 parent 754d691 commit f5d0d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitchart.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def _generate_bar_chart(self, data, sorted_keys=None, max_keys=0,
sorted_keys = sorted_keys[-1 * max_keys:]
bar_chart.x_labels = sorted_keys[:]
if max_x_labels > 0 and len(bar_chart.x_labels) > max_x_labels:
# reduce number of x labels for readibility: keep only one label
# reduce number of x labels for readability: keep only one label
# on N, starting from the end
num = max(2, (len(bar_chart.x_labels) // max_x_labels) * 2)
count = 0
Expand Down

0 comments on commit f5d0d00

Please sign in to comment.