Skip to content
Snippets Groups Projects

use all x values to compute x limits in `inbreeding plot`

Merged STEVAN Antoine requested to merge plot into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -98,8 +98,8 @@ export def main [
@@ -98,8 +98,8 @@ export def main [
| reject strategy
| reject strategy
| save --force /tmp/graphs.json
| save --force /tmp/graphs.json
let x_min = open /tmp/graphs.json | get points.0.x | math min
let x_min = open /tmp/graphs.json | get points | flatten | get x | math min
let x_max = open /tmp/graphs.json | get points.0.x | math max
let x_max = open /tmp/graphs.json | get points | flatten | get x | math max
let args = [
let args = [
--json-data-file /tmp/graphs.json
--json-data-file /tmp/graphs.json
Loading