(colors1, type, gamma)
| 126977 | }; |
| 126978 | } |
| 126979 | function interpolateColors(colors1, type, gamma) { |
| 126980 | return (0, _d3Interpolate.piecewise)(interpolate(type || "rgb", gamma), colors1); |
| 126981 | } |
| 126982 | function quantizeInterpolator(interpolator, count) { |
| 126983 | const samples = new Array(count), n = count + 1; |
| 126984 | for(let i = 0; i < count;)samples[i] = interpolator(++i / n); |
no test coverage detected