923357c9bb591cd9275606cbbb25b61710554b07,nilearn/plotting/tests/test_img_plotting.py,,test_plot_glass_brain_colorbar_having_nans,#,1119

Before Change




def test_plot_glass_brain_colorbar_having_nans():
    img = _generate_img()
    data = get_data(img)

    data[6, 5, 2] = np.inf
    img = nibabel.Nifti1Image(data, np.eye(4))

After Change




def test_plot_glass_brain_colorbar_having_nans(testdata_3d):
    img = testdata_3d["img"]
    data = get_data(img)

    data[6, 5, 2] = np.inf
    img = nibabel.Nifti1Image(data, np.eye(4))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 17

Non-data size: 5

Instances


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plot_glass_brain_colorbar_having_nans


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plotting_functions_with_nans_in_bg_img


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plot_functions


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_save_plot


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_invalid_in_display_mode_cut_coords_all_plots


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_display_methods_with_display_mode_tiled


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plot_anat


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plot_with_axes_or_figure


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plotting_functions_with_display_mode_tiled


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plot_stat_map


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_invalid_in_display_mode_tiled_cut_coords_single_all_plots


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plot_stat_map_colorbar_variations


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plot_glass_brain


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_invalid_in_display_mode_tiled_cut_coords_all_plots


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plot_stat_map_with_nans


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_display_methods


Project Name: nilearn/nilearn
Commit Name: 923357c9bb591cd9275606cbbb25b61710554b07
Time: 2020-05-26
Author: tsalo006@fiu.edu
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plotting_functions_with_dim_invalid_input