コード例 #1
0
def test_plot_ability_profiles():
    fig = parameter_plots.plot_ability_profiles(
        base_params, include_title=True)
    assert fig
コード例 #2
0
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)
コード例 #3
0
def test_plot_ability_profiles():
    fig = parameter_plots.plot_ability_profiles(base_params)
    assert fig