def test_plot_ability_profiles(): fig = parameter_plots.plot_ability_profiles( base_params, include_title=True) assert fig
def test_plot_ability_profiles_save_fig(tmpdir): parameter_plots.plot_ability_profiles( base_params, path=tmpdir) img = mpimg.imread(os.path.join(tmpdir, 'ability_profiles.png')) assert isinstance(img, np.ndarray)
def test_plot_ability_profiles(): fig = parameter_plots.plot_ability_profiles(base_params) assert fig