Leaklens

matplotlib__matplotlib-24970

[Bug]: NumPy 1.24 deprecation warnings

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

I think this is exposing a real bug that we need to promote the input data to be bigger than uint8. What we are doing here is buildin a lookup up table, the first N entries are for for values into the actually color map and then the next 3 entries are the special cases for over/under/bad so `xa` needs to be big enough to hold `self.N + 2` as values.

The two checks disagreed (stated fix vs. points to it); the lower reading shown: “I think this is exposing a real bug that we need to promote the input data to be bigger than uint8. What we are doing here is buildin a lookup up tab…”

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