Skip to content

Commit c410c46

Browse files
author
Dean Malmgren
committed
bump to version 0.3.0
1 parent 1208a19 commit c410c46

File tree

3 files changed

+3
-20
lines changed

3 files changed

+3
-20
lines changed

catcorr.js

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@
458458
// group. alpha is the hyperparameter of the
459459
// categorical distribution
460460
// http://en.wikipedia.org/wiki/Categorical_distribution
461-
var p=[], alpha=1, pp;
461+
var p=[], alpha=1;
462462
group.__all__.forEach(function (x) {
463463
p.push((x + alpha)/(N + alpha*group.__all__.length));
464464
});
@@ -475,23 +475,6 @@
475475
return confidence_intervals;
476476
}
477477

478-
function asterisk(xc) {
479-
var theta=2*Math.PI/5;
480-
var theta0=Math.PI/2;
481-
var r=margin.top/4;
482-
var o=r;
483-
return "M"+xc+","+(-o-r)+
484-
"L"+(-r*Math.cos(0*theta+theta0)+xc)+","+(-r*Math.sin(0*theta+theta0)-o-r)+
485-
"M"+xc+","+(-o-r)+
486-
"L"+(-r*Math.cos(1*theta+theta0)+xc)+","+(-r*Math.sin(1*theta+theta0)-o-r)+
487-
"M"+xc+","+(-o-r)+
488-
"L"+(-r*Math.cos(2*theta+theta0)+xc)+","+(-r*Math.sin(2*theta+theta0)-o-r)+
489-
"M"+xc+","+(-o-r)+
490-
"L"+(-r*Math.cos(3*theta+theta0)+xc)+","+(-r*Math.sin(3*theta+theta0)-o-r)+
491-
"M"+xc+","+(-o-r)+
492-
"L"+(-r*Math.cos(4*theta+theta0)+xc)+","+(-r*Math.sin(4*theta+theta0)-o-r);
493-
}
494-
495478
function backer_box(xc) {
496479
return "M"+(xc-bar_width/2)+","+(-margin.top)+
497480
"h"+bar_width+

catcorr.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "catcorrjs",
3-
"version": "0.1.0",
3+
"version": "0.3.0",
44
"description": "Visualize correlations across many dimensions of categorical data (e.g., from a survey)",
55
"main": "catcorr.js",
66
"directories": {

0 commit comments

Comments
 (0)