Leaklens

matplotlib__matplotlib-23964

[Bug]: Text label with empty line causes a "TypeError: cannot unpack non-iterable NoneType object" in PostScript backend

Verdict: the issue points to the file or function that was changed (Tier B).

- adding `if curr_stream:` before line 669 of `backend_ps.py` seems to fix the bug

The two checks disagreed (stated fix vs. points to it); the lower reading shown: “- adding `if curr_stream:` before line 669 of `backend_ps.py` seems to fix the bug”

All SWE-bench Lite tasks · more matplotlib/matplotlib tasks · How the check works