Ejemplo n.º 1
0
def test_plot_chi_n_save_fig(tmpdir):
    parameter_plots.plot_chi_n(
            base_params, path=tmpdir)
    img = mpimg.imread(os.path.join(tmpdir, 'chi_n_values.png'))

    assert isinstance(img, np.ndarray)
Ejemplo n.º 2
0
def test_plot_chi_n():
    fig = parameter_plots.plot_chi_n(
        base_params, include_title=True)
    assert fig
Ejemplo n.º 3
0
def test_plot_chi_n():
    fig = parameter_plots.plot_chi_n(base_params)
    assert fig