Example #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)
Example #2
0
def test_plot_chi_n():
    fig = parameter_plots.plot_chi_n(
        base_params, include_title=True)
    assert fig
Example #3
0
def test_plot_chi_n():
    fig = parameter_plots.plot_chi_n(base_params)
    assert fig