-
dispatch(CHANGE_LOG)}>
- {(state.log ? "true" : "False") |> ReasonReact.string}
-
-
dispatch(CHANGE_SHOW_STATS)}>
- {"Stats" |> ReasonReact.string}
-
-
dispatch(CHANGE_HEIGHT(state.height + 40))}>
- {"HightPlus" |> ReasonReact.string}
-
-
- dispatch(
- CHANGE_HEIGHT(state.height < 81 ? state.height : state.height - 40),
- )
- }>
- {"HightMinus" |> ReasonReact.string}
-
chart
chart2
+
+
+
+
+
+
+
+ {state.showParams ? showAsForm(distPlus) : ReasonReact.null}
{state.showStats ? table(distPlus, x) : ReasonReact.null}
;
// chart
diff --git a/src/distributions/DistPlusIngredients.re b/src/distributions/DistPlusIngredients.re
index 9882b917..2f6be1a1 100644
--- a/src/distributions/DistPlusIngredients.re
+++ b/src/distributions/DistPlusIngredients.re
@@ -31,7 +31,7 @@ let toDistPlus =
~shape=_,
~domain=t.domain,
~unit=t.unit,
- ~guesstimatorString=None,
+ ~guesstimatorString=Some(t.guesstimatorString),
(),
),
)
diff --git a/src/interface/FormBuilder.re b/src/interface/FormBuilder.re
index 35f61608..94e7b4cb 100644
--- a/src/interface/FormBuilder.re
+++ b/src/interface/FormBuilder.re
@@ -20,8 +20,8 @@ let propValue = (t: Prop.Value.t) => {
| DistPlusIngredients((r: DistTypes.distPlusIngredients)) =>
let newDistribution =
DistPlusIngredients.toDistPlus(
- ~sampleCount=2000,
- ~outputXYPoints=1000,
+ ~sampleCount=1000,
+ ~outputXYPoints=2000,
~truncateTo=Some(500),
r,
);