| 1 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Task Metadata: |
| 2 | - Instance ID: matplotlib__matplotlib-23476 |
| 3 | - Testbed: matplotlib__matplotlib__3.5 |
| 4 | - |
| 5 | - Evaluation Model: gpt-4-0125-preview |
| 6 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Command: git -c advice.detachedHead=false checkout 33a0599711d26dc2b79f851c6daed4947df7c167 |
| 7 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": true, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2} |
| 8 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Std. Output: |
| 9 | Previous HEAD position was de98877e3d Move axes_grid tests to axes_grid1 (#23861) |
| 10 | HEAD is now at 33a0599711 Merge pull request #16931 from anntzer/reevents |
| 11 | |
| 12 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Return Code: 0 |
| 13 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Command: git apply -v /home/swe-bench/temp_matplotlib__matplotlib-23476_pred_try.patch |
| 14 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2} |
| 15 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Std. Output: |
| 16 | /home/swe-bench/temp_matplotlib__matplotlib-23476_pred_try.patch:48: trailing whitespace. |
| 17 | |
| 18 | /home/swe-bench/temp_matplotlib__matplotlib-23476_pred_try.patch:51: trailing whitespace. |
| 19 | |
| 20 | /home/swe-bench/temp_matplotlib__matplotlib-23476_pred_try.patch:53: trailing whitespace. |
| 21 | |
| 22 | /home/swe-bench/temp_matplotlib__matplotlib-23476_pred_try.patch:56: trailing whitespace. |
| 23 | |
| 24 | /home/swe-bench/temp_matplotlib__matplotlib-23476_pred_try.patch:67: trailing whitespace. |
| 25 | |
| 26 | Checking patch lib/matplotlib/backends/backend_macosx.py... |
| 27 | Checking patch lib/matplotlib/figure.py... |
| 28 | Applied patch lib/matplotlib/backends/backend_macosx.py cleanly. |
| 29 | Applied patch lib/matplotlib/figure.py cleanly. |
| 30 | warning: 5 lines add whitespace errors. |
| 31 | |
| 32 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Return Code: 0 |
| 33 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Apply patch successful (pred_try) |
| 34 | >>>>> Applied Patch (pred_try) |
| 35 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Command: git apply -v -R /home/swe-bench/temp_matplotlib__matplotlib-23476_pred_try.patch |
| 36 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2} |
| 37 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Std. Output: |
| 38 | Checking patch lib/matplotlib/figure.py... |
| 39 | Checking patch lib/matplotlib/backends/backend_macosx.py... |
| 40 | Applied patch lib/matplotlib/figure.py cleanly. |
| 41 | Applied patch lib/matplotlib/backends/backend_macosx.py cleanly. |
| 42 | |
| 43 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Return Code: 0 |
| 44 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Revert patch successful (pred_try) |
| 45 | >>>>> Applied Patch (pred_try) |
| 46 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Command: git apply -v /home/swe-bench/temp_matplotlib__matplotlib-23476_pred.patch |
| 47 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2} |
| 48 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Std. Output: |
| 49 | /home/swe-bench/temp_matplotlib__matplotlib-23476_pred.patch:48: trailing whitespace. |
| 50 | |
| 51 | /home/swe-bench/temp_matplotlib__matplotlib-23476_pred.patch:51: trailing whitespace. |
| 52 | |
| 53 | /home/swe-bench/temp_matplotlib__matplotlib-23476_pred.patch:53: trailing whitespace. |
| 54 | |
| 55 | /home/swe-bench/temp_matplotlib__matplotlib-23476_pred.patch:56: trailing whitespace. |
| 56 | |
| 57 | /home/swe-bench/temp_matplotlib__matplotlib-23476_pred.patch:67: trailing whitespace. |
| 58 | |
| 59 | Checking patch lib/matplotlib/backends/backend_macosx.py... |
| 60 | Checking patch lib/matplotlib/figure.py... |
| 61 | Applied patch lib/matplotlib/backends/backend_macosx.py cleanly. |
| 62 | Applied patch lib/matplotlib/figure.py cleanly. |
| 63 | warning: 5 lines add whitespace errors. |
| 64 | |
| 65 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Return Code: 0 |
| 66 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Apply patch successful (pred) |
| 67 | >>>>> Applied Patch (pred) |
| 68 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Command: git restore lib/matplotlib/tests/test_figure.py |
| 69 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": true, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2} |
| 70 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Std. Output: |
| 71 | |
| 72 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Return Code: 0 |
| 73 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Command: git apply -v /home/swe-bench/temp_matplotlib__matplotlib-23476_test.patch |
| 74 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2} |
| 75 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Std. Output: |
| 76 | Checking patch lib/matplotlib/tests/test_figure.py... |
| 77 | Applied patch lib/matplotlib/tests/test_figure.py cleanly. |
| 78 | |
| 79 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Return Code: 0 |
| 80 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Apply patch successful (test) |
| 81 | >>>>> Applied Patch (test) |
| 82 | Test Script: conda run -n matplotlib__matplotlib__3.5 pytest --no-header -rA --tb=no -p no:cacheprovider lib/matplotlib/tests/test_figure.py; |
| 83 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Command: conda run -n matplotlib__matplotlib__3.5 pytest --no-header -rA --tb=no -p no:cacheprovider lib/matplotlib/tests/test_figure.py |
| 84 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Subprocess args: {"cwd": "/home/swe-bench/matplotlib__matplotlib", "check": false, "shell": false, "capture_output": false, "text": true, "stdout": -1, "stderr": -2, "timeout": 1800} |
| 85 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Std. Output: |
| 86 | ============================= test session starts ============================== |
| 87 | collected 112 items |
| 88 | |
| 89 | lib/matplotlib/tests/test_figure.py .s......s..s.....s..s............... [ 32%] |
| 90 | ......................ss................................................ [ 96%] |
| 91 | ..FF [100%] |
| 92 | |
| 93 | =========================== short test summary info ============================ |
| 94 | PASSED lib/matplotlib/tests/test_figure.py::test_align_labels[png] |
| 95 | PASSED lib/matplotlib/tests/test_figure.py::test_align_labels_stray_axes |
| 96 | PASSED lib/matplotlib/tests/test_figure.py::test_figure_label |
| 97 | PASSED lib/matplotlib/tests/test_figure.py::test_fignum_exists |
| 98 | PASSED lib/matplotlib/tests/test_figure.py::test_clf_keyword |
| 99 | PASSED lib/matplotlib/tests/test_figure.py::test_figure[png] |
| 100 | PASSED lib/matplotlib/tests/test_figure.py::test_figure[pdf] |
| 101 | PASSED lib/matplotlib/tests/test_figure.py::test_figure_legend[png] |
| 102 | PASSED lib/matplotlib/tests/test_figure.py::test_figure_legend[pdf] |
| 103 | PASSED lib/matplotlib/tests/test_figure.py::test_gca |
| 104 | PASSED lib/matplotlib/tests/test_figure.py::test_add_subplot_subclass |
| 105 | PASSED lib/matplotlib/tests/test_figure.py::test_add_subplot_invalid |
| 106 | PASSED lib/matplotlib/tests/test_figure.py::test_suptitle[png] |
| 107 | PASSED lib/matplotlib/tests/test_figure.py::test_suptitle[pdf] |
| 108 | PASSED lib/matplotlib/tests/test_figure.py::test_suptitle_fontproperties |
| 109 | PASSED lib/matplotlib/tests/test_figure.py::test_alpha[png] |
| 110 | PASSED lib/matplotlib/tests/test_figure.py::test_too_many_figures |
| 111 | PASSED lib/matplotlib/tests/test_figure.py::test_iterability_axes_argument |
| 112 | PASSED lib/matplotlib/tests/test_figure.py::test_set_fig_size |
| 113 | PASSED lib/matplotlib/tests/test_figure.py::test_axes_remove |
| 114 | PASSED lib/matplotlib/tests/test_figure.py::test_figaspect |
| 115 | PASSED lib/matplotlib/tests/test_figure.py::test_autofmt_xdate[both] |
| 116 | PASSED lib/matplotlib/tests/test_figure.py::test_autofmt_xdate[major] |
| 117 | PASSED lib/matplotlib/tests/test_figure.py::test_autofmt_xdate[minor] |
| 118 | PASSED lib/matplotlib/tests/test_figure.py::test_change_dpi |
| 119 | PASSED lib/matplotlib/tests/test_figure.py::test_invalid_figure_size[1-nan] |
| 120 | PASSED lib/matplotlib/tests/test_figure.py::test_invalid_figure_size[-1-1] |
| 121 | PASSED lib/matplotlib/tests/test_figure.py::test_invalid_figure_size[inf-1] |
| 122 | PASSED lib/matplotlib/tests/test_figure.py::test_invalid_figure_add_axes |
| 123 | PASSED lib/matplotlib/tests/test_figure.py::test_subplots_shareax_loglabels |
| 124 | PASSED lib/matplotlib/tests/test_figure.py::test_savefig |
| 125 | PASSED lib/matplotlib/tests/test_figure.py::test_savefig_warns |
| 126 | PASSED lib/matplotlib/tests/test_figure.py::test_savefig_backend |
| 127 | PASSED lib/matplotlib/tests/test_figure.py::test_savefig_pixel_ratio[Agg] |
| 128 | PASSED lib/matplotlib/tests/test_figure.py::test_savefig_pixel_ratio[Cairo] |
| 129 | PASSED lib/matplotlib/tests/test_figure.py::test_figure_repr |
| 130 | PASSED lib/matplotlib/tests/test_figure.py::test_valid_layouts |
| 131 | PASSED lib/matplotlib/tests/test_figure.py::test_invalid_layouts |
| 132 | PASSED lib/matplotlib/tests/test_figure.py::test_add_artist[png] |
| 133 | PASSED lib/matplotlib/tests/test_figure.py::test_add_artist[pdf] |
| 134 | PASSED lib/matplotlib/tests/test_figure.py::test_fspath[png] |
| 135 | PASSED lib/matplotlib/tests/test_figure.py::test_fspath[pdf] |
| 136 | PASSED lib/matplotlib/tests/test_figure.py::test_fspath[ps] |
| 137 | PASSED lib/matplotlib/tests/test_figure.py::test_fspath[eps] |
| 138 | PASSED lib/matplotlib/tests/test_figure.py::test_fspath[svg] |
| 139 | PASSED lib/matplotlib/tests/test_figure.py::test_tightbbox |
| 140 | PASSED lib/matplotlib/tests/test_figure.py::test_axes_removal |
| 141 | PASSED lib/matplotlib/tests/test_figure.py::test_removed_axis |
| 142 | PASSED lib/matplotlib/tests/test_figure.py::test_figure_clear[clear] |
| 143 | PASSED lib/matplotlib/tests/test_figure.py::test_figure_clear[clf] |
| 144 | PASSED lib/matplotlib/tests/test_figure.py::test_clf_not_redefined |
| 145 | PASSED lib/matplotlib/tests/test_figure.py::test_picking_does_not_stale |
| 146 | PASSED lib/matplotlib/tests/test_figure.py::test_add_subplot_twotuple |
| 147 | PASSED lib/matplotlib/tests/test_figure.py::test_animated_with_canvas_change[pdf] |
| 148 | PASSED lib/matplotlib/tests/test_figure.py::test_animated_with_canvas_change[eps] |
| 149 | PASSED lib/matplotlib/tests/test_figure.py::test_animated_with_canvas_change[png] |
| 150 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_basic[x0-png] |
| 151 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_basic[x1-png] |
| 152 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_all_nested[png] |
| 153 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_nested[png] |
| 154 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_nested_tuple[png] |
| 155 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_empty[x0-None-png] |
| 156 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_empty[x1-SKIP-png] |
| 157 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_empty[x2-0-png] |
| 158 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_empty[x3-None-png] |
| 159 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_empty[x4-SKIP-png] |
| 160 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_empty[x5-0-png] |
| 161 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_fail_list_of_str |
| 162 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_subplot_kw[subplot_kw0-png] |
| 163 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_subplot_kw[subplot_kw1-png] |
| 164 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_subplot_kw[None-png] |
| 165 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_string_parser |
| 166 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_single_str_input[AAA\nBBB-png] |
| 167 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_single_str_input[\nAAA\nBBB\n-png] |
| 168 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_single_str_input[ABC\nDEF-png] |
| 169 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_fail[x0-(?m)we found that the label .A. specifies a non-rectangular or non-contiguous area.] |
| 170 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_fail[x1-There are duplicate keys .* between the outer layout] |
| 171 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_fail[AAA\nc\nBBB-All of the rows must be the same length] |
| 172 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_fail[x3-All of the rows must be the same length] |
| 173 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_hashable_keys[png] |
| 174 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_user_order[abc] |
| 175 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_user_order[cab] |
| 176 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_user_order[bca] |
| 177 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_user_order[cba] |
| 178 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_user_order[acb] |
| 179 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_user_order[bac] |
| 180 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_nested_user_order |
| 181 | PASSED lib/matplotlib/tests/test_figure.py::TestSubplotMosaic::test_share_all |
| 182 | PASSED lib/matplotlib/tests/test_figure.py::test_reused_gridspec |
| 183 | PASSED lib/matplotlib/tests/test_figure.py::test_subfigure[png] |
| 184 | PASSED lib/matplotlib/tests/test_figure.py::test_subfigure_tightbbox |
| 185 | PASSED lib/matplotlib/tests/test_figure.py::test_subfigure_dpi |
| 186 | PASSED lib/matplotlib/tests/test_figure.py::test_subfigure_ss[png] |
| 187 | PASSED lib/matplotlib/tests/test_figure.py::test_subfigure_double[png] |
| 188 | PASSED lib/matplotlib/tests/test_figure.py::test_subfigure_spanning |
| 189 | PASSED lib/matplotlib/tests/test_figure.py::test_subfigure_ticks |
| 190 | PASSED lib/matplotlib/tests/test_figure.py::test_subfigure_scatter_size[png] |
| 191 | PASSED lib/matplotlib/tests/test_figure.py::test_subfigure_pdf |
| 192 | PASSED lib/matplotlib/tests/test_figure.py::test_add_subplot_kwargs |
| 193 | PASSED lib/matplotlib/tests/test_figure.py::test_add_axes_kwargs |
| 194 | PASSED lib/matplotlib/tests/test_figure.py::test_ginput |
| 195 | PASSED lib/matplotlib/tests/test_figure.py::test_waitforbuttonpress |
| 196 | PASSED lib/matplotlib/tests/test_figure.py::test_kwargs_pass |
| 197 | SKIPPED [6] ../miniconda3/envs/matplotlib__matplotlib__3.5/lib/python3.11/contextlib.py:81: Cannot compare svg files on this system |
| 198 | SKIPPED [1] lib/matplotlib/testing/compare.py:285: Don't know how to convert .svg files to png |
| 199 | FAILED lib/matplotlib/tests/test_figure.py::test_deepcopy - AttributeError: '... |
| 200 | FAILED lib/matplotlib/tests/test_figure.py::test_unpickle_with_device_pixel_ratio |
| 201 | ================== 2 failed, 103 passed, 7 skipped in 16.17s =================== |
| 202 | ERROR conda.cli.main_run:execute(124): `conda run pytest --no-header -rA --tb=no -p no:cacheprovider lib/matplotlib/tests/test_figure.py` failed. (See above for error) |
| 203 | |
| 204 | |
| 205 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Return Code: 1 |
| 206 | |
| 207 | >>>>> Some Tests Failed |
| 208 | [matplotlib__matplotlib__3.5] [matplotlib__matplotlib-23476] Test script run successful |