ascii-boxplot
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "ascii-boxplot", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "small configurable boxplot utility for the console", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,2 +0,2 @@ | ||
<!-- markdownlint-disable MD004 MD007 MD010 MD041 MD022 MD024 MD032 MD036 --> | ||
<!-- markdownlint-disable MD004 MD007 MD010 MD041 MD022 MD024 MD032 MD036 --> | ||
# ascii-boxplot | ||
@@ -7,6 +7,6 @@ | ||
```text | ||
patates · • [---[==|==]---] • · | ||
frites · • [----[=|===]--] • · | ||
poutines · • [----[=|=]----] • · | ||
choucroutte · • [----[=|=]-----] • · | ||
patates · • [----[==|==]----] • · | ||
frites · • [---[=|===]--] • · | ||
poutines · • [----[=|=]----] • · | ||
choucroutte · • [----[=|=]-----] • · | ||
``` | ||
@@ -19,5 +19,5 @@ | ||
boxplot({ | ||
label1: arrayOfSamples1, | ||
label2: arrayOfSamples2, | ||
label3: arrayOfSamples3, | ||
label1: arrayOfSamples1, | ||
label2: arrayOfSamples2, | ||
label3: arrayOfSamples3, | ||
}) | ||
@@ -39,12 +39,12 @@ ``` | ||
var defaults = { | ||
1: ' • ', | ||
2: ' [=] ', | ||
3: ' [=|=] ', | ||
5: ' [-[=|=]-] ', | ||
7: ' • [-[=|=]-] • ', | ||
9: ' · • [-[=|=]-] • · ', | ||
cols: 0, // will attempt to autodetect if cols is falsy, defaulting to 80 | ||
padding: [4, 4], | ||
probs: [0, .02, .09, .25, .50, .75, .91, .98, 1], | ||
ondone: function(str) { console.log(str) } | ||
1: ' • ', | ||
2: ' [=] ', | ||
3: ' [=|=] ', | ||
5: ' [-[=|=]-] ', | ||
7: ' • [-[=|=]-] • ', | ||
9: ' · • [-[=|=]-] • · ', | ||
cols: 0, // will attempt to autodetect if cols is falsy, defaulting to 80 | ||
padding: [4, 4], | ||
probs: [0, .02, .09, .25, .50, .75, .91, .98, 1], | ||
ondone: function(str) { console.log(str) } | ||
} | ||
@@ -51,0 +51,0 @@ ``` |
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
5826