Different python versions have different (typing) conventions which will raise pyright issues depending on the Python version people have installed. Our suggestion would be to test against old Python versions but do not run pyright and pick one Python version everyone should use to develop to have consistent Pyright errors.
Once we pyright only against a newer Python version we can partly revert 899c063 as newer versions of matplotlib fix it
Different python versions have different (typing) conventions which will raise pyright issues depending on the Python version people have installed. Our suggestion would be to test against old Python versions but do not run pyright and pick one Python version everyone should use to develop to have consistent Pyright errors.
Once we pyright only against a newer Python version we can partly revert 899c063 as newer versions of matplotlib fix it