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