canvas-operations
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -67,7 +67,7 @@ 'use strict'; | ||
var x = d3.scale.linear().range([start, width - start]).domain([0 , data.length]); | ||
var y = d3.scale.log().range([start, height - start]).domain(d3.extent(data, function(d) { return d.close; })); | ||
var y = d3.scale.log().range([start, height - start]).domain(d3.extent(data, function(d) { return d; })); | ||
var line = d3.svg.line() | ||
.x(function(d, i) { return x(i); }) | ||
.y(function(d) { return y(d.close); }) | ||
.y(function(d) { return y(d); }) | ||
.interpolate('basis-open'); | ||
@@ -74,0 +74,0 @@ ctx.strokeStyle = 'black'; |
{ | ||
"name": "canvas-operations", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Used to resize handwritten pixel alpha values for nueral network pattern recognition", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4798