Merge pull request #3718 from jenshnielsen/numpy_None_warnings

ENH : Use is to compare with None in backend_pdf