Skip to content
This repository was archived by the owner on Jun 2, 2019. It is now read-only.

v1.2.2

Choose a tag to compare

@joshwcomeau joshwcomeau released this 10 Mar 18:35
· 9 commits to master since this release

Add support for same-value lines

Fixes a bug where same-value datasets (eg. [0, 0, 0, 0, 0]) would crash.

The fix assumes that if all values are the same, the line will run along the bottom of the available space. This is not an ideal fix for all cases; a future version will allow for greater customization. See the discussion in #9 for more information.

Special thanks to @Mattasher for discovering this bug!