Open alexhagen opened 5 years ago
Merging #48 into master will decrease coverage by
2.32%
. The diff coverage is88%
.
@@ Coverage Diff @@
## master #48 +/- ##
==========================================
- Coverage 99.13% 96.81% -2.33%
==========================================
Files 1 1
Lines 232 251 +19
==========================================
+ Hits 230 243 +13
- Misses 2 8 +6
Impacted Files | Coverage Δ | |
---|---|---|
colour.py | 96.81% <88%> (-2.33%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 11f138e...8a6a0cb. Read the comment docs.
Previously, when performing
range_to
on colors with hues that crossed1.0
, thecolor_scale
function used inrange_to
would go through all intervening hues instead of crossing1.0
. For example, when going from purple with hue0.94
to red with hue0.04
,range_to
returned almost all colors (blue, green, yellow) by ranging from0.94
downward to0.04
instead of going from0.94
to1.0
and then restarting at0.0
and going to0.4
. This commit fixes that.