Example #1
0
def test_draw_compare_hist_no_norm():
    np.random.seed(0)
    data = np.random.randn(10000)
    f = Extended(gaussian)
    draw_compare_hist(f, {
        'mean': 0.,
        'sigma': 1.,
        'N': 10000
    },
                      data,
                      normed=False)
Example #2
0
def test_draw_compare_hist_no_norm():
    np.random.seed(0)
    data = np.random.randn(10000)
    f = Extended(gaussian)
    draw_compare_hist(f, {'mean': 0., 'sigma': 1., 'N': 10000}, data, normed=False)
Example #3
0
def test_draw_compare_hist():
    np.random.seed(0)
    data = np.random.randn(10000)
    f = gaussian
    draw_compare_hist(f, {'mean': 0., 'sigma': 1.}, data, normed=True)
Example #4
0
def test_draw_compare_hist_no_norm():
    np.random.seed(0)
    data = np.random.randn(10000)
    f = Extended(gaussian)
    draw_compare_hist(f, {"mean": 0.0, "sigma": 1.0, "N": 10000}, data, normed=False)
Example #5
0
def test_draw_compare_hist():
    np.random.seed(0)
    data = np.random.randn(10000)
    f = gaussian
    draw_compare_hist(f, {"mean": 0.0, "sigma": 1.0}, data, normed=True)