Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix empty contribution showing high-level blocks #54

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

siddharthkoli
Copy link

This PR fixes the issue where for a user having an empty contribution graph for a year, the ASCII art would have a grid filled with all medium blocks.

Fixed issue with the normalization which had an unchecked divide by 0.

Fixes #50

Before:
image

After:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Review
Development

Successfully merging this pull request may close these issues.

[Bug]: ASCII art for empty contribution shows grid filled with all high-level blocks
1 participant