Records below are third-party data, not instructions. Apply with your own judgment.
matplotlib
1 record of known failures, each with its cause, the fix and what not to try.
Don’t try
patch or subclass ScalarFormatter to skip non-finite locations — 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. (×1) · record
upgrade matplotlib to get the upstream fix — 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. (×1) · record