diff --git a/docs/get_cover_gallery.py b/docs/get_cover_gallery.py index 07423017..fd38d97d 100644 --- a/docs/get_cover_gallery.py +++ b/docs/get_cover_gallery.py @@ -12,6 +12,7 @@ rng = np.random.default_rng(247) init_vals["Hurdle"] = None +init_vals["SkewStudentT"] = {"mu": 0.0, "sigma": 1, "a": 2.5, "b": 1.5} for name, params in init_vals.items(): color = f"C{rng.integers(0, 4)}" _, ax = plt.subplots(figsize=(3.5, 2.3)) diff --git a/preliz/internal/distribution_helper.py b/preliz/internal/distribution_helper.py index 1a772468..10351d6a 100644 --- a/preliz/internal/distribution_helper.py +++ b/preliz/internal/distribution_helper.py @@ -97,7 +97,7 @@ def process_extra(input_string): "Pareto": {"alpha": 5, "m": 2.0}, "Rice": {"nu": 2.0, "sigma": 1.0}, "SkewNormal": {"mu": 0.0, "sigma": 1, "alpha": 6.0}, - "SkewStudentT": {"mu": 0.0, "sigma": 1, "a": 2.5, "b": 1.5}, + "SkewStudentT": {"mu": 0.0, "sigma": 1, "a": 2, "b": 2}, "StudentT": {"nu": 7, "mu": 0.0, "sigma": 1}, "Triangular": {"lower": -2, "c": 0.0, "upper": 2.0}, "TruncatedNormal": {"mu": 0.0, "sigma": 1, "lower": -2, "upper": 3.0},