[Pkg-javascript-commits] [science.js] 01/01: Fix a typo in kde.js example
Sunil Mohan Adapa
sunilmohan-guest at moszumanska.debian.org
Thu Dec 8 10:38:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
sunilmohan-guest pushed a commit to branch upstream
in repository science.js.
commit 06e936718aac43443a00293f67bce1641e02e55c
Author: Viktar Basharymau <6alliapumob at gmail.com>
Date: Sat Sep 19 14:00:02 2015 +0300
Fix a typo in kde.js example
It is supposed to be a comma, I guess?
---
examples/kde/kde.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/kde/kde.js b/examples/kde/kde.js
index 00783b7..5b883f2 100644
--- a/examples/kde/kde.js
+++ b/examples/kde/kde.js
@@ -3,7 +3,7 @@ d3.json("faithful.json", function(faithful) {
data = faithful;
var w = 800,
h = 400,
- x = d3.scale.linear().domain([30, 110]).range([0, w]);
+ x = d3.scale.linear().domain([30, 110]).range([0, w]),
bins = d3.layout.histogram().frequency(false).bins(x.ticks(60))(data),
max = d3.max(bins, function(d) { return d.y; }),
y = d3.scale.linear().domain([0, .1]).range([0, h]),
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/science.js.git
More information about the Pkg-javascript-commits
mailing list