in favor vs in someone's black books

in favor

prep
  • In support of a proposal, as a nomination or legislation. 

  • Used other than figuratively or idiomatically: see in, favor. 

in someone's black books

prep
  • Having incurred someone's displeasure. 

How often have the words in favor and in someone's black books occurred in a corpus of books? (source: Google Ngram Viewer )