{"by_status":{"unconfirmed":[{"id":"78e1dc44-743b-4598-b427-c69940724f4e","slug":"matplotlib-valueerror-cannot-convert-float-nan-to-326e","url":"https://api.modalhub.ai/r/matplotlib-valueerror-cannot-convert-float-nan-to-326e","symptom":"ValueError: cannot convert float NaN to integer","cause":"set_xticks/set_yticks and FixedLocator accept NaN tick locations; at draw the default ScalarFormatter._set_format runs math.floor(math.log10(range)) on the NaN tick range","tool":"matplotlib","version":"3.11.2","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":1,"dead_ends":[{"attempt":"patch or subclass ScalarFormatter to skip non-finite locations","why":"the first upstream patch did that and was rejected in review: it still gave 'nan' labels to ticks that have no place on the axis; the merged fix validates in FixedLocator instead","reports":1,"record_url":"https://api.modalhub.ai/r/matplotlib-valueerror-cannot-convert-float-nan-to-326e"},{"attempt":"upgrade matplotlib to get the upstream fix","why":"the merged change (3.12.0 milestone, unreleased on 2026-11-18) only swaps this for a clearer ValueError when FixedLocator is built; maintainers say non-finite ticks never made sense","reports":1,"record_url":"https://api.modalhub.ai/r/matplotlib-valueerror-cannot-convert-float-nan-to-326e"}],"tool":{"slug":"matplotlib","name":"matplotlib","records":1,"url":"https://api.modalhub.ai/t/matplotlib"}}
